wavelength 1.0.0
Loading...
Searching...
No Matches
memcardsync.h
Go to the documentation of this file.
1#pragma once
2
4
18int MemcardGetInfoAndWait(int nDevice, int *pnType, int *pnFree, int *pnFormat);
19
26
39int MemcardOpenAndWait(int nDevice, const char *pszPath, int nFlags);
40
51int MemcardCloseAndWait(int nFile);
52
65int MemcardWriteAndWait(int nFile, const void *pData, int nBytes);
66
83 int nDevice, const char *pszName, int nMaxEntries, int nMode, MemcardDirEntry **ppEntries);
84
85#ifdef VIDEO_STANDARD_PAL
96int MemcardDeleteAndWait(int nDevice, const char *pszPath);
97
110int MemcardDeleteDirAndWait(int nDevice, const char *pszDir);
111#endif
MemcardOpenFlags
Flags of MemcardOpenAndWait().
Definition memcardsync.h:21
@ kMemcardOpenRead
Definition memcardsync.h:22
@ kMemcardOpenWrite
Definition memcardsync.h:23
@ kMemcardOpenCreate
Definition memcardsync.h:24
int MemcardGetInfoAndWait(int nDevice, int *pnType, int *pnFree, int *pnFormat)
Report the state of the memory card of a device, waiting for the result.
int MemcardWriteAndWait(int nFile, const void *pData, int nBytes)
Write to a file of a memory card, waiting for the result.
int MemcardCloseAndWait(int nFile)
Close a file of a memory card, waiting for the result.
int MemcardOpenAndWait(int nDevice, const char *pszPath, int nFlags)
Open a file of the memory card of a device, waiting for the result.
int MemcardGetDirAndWait(int nDevice, const char *pszName, int nMaxEntries, int nMode, MemcardDirEntry **ppEntries)
List the entries of the memory card of a device that match a name, waiting for the result.
One entry of a memory card directory listing, as MemcardCBHandler::OnGetDir() receives it.
Definition memcarddirentry.h:13