22 DWORD NumberOfBytesRead;
32 return NumberOfBytesRead;
43 DWORD NumberOfBytesWritten;
56 &NumberOfBytesWritten,
61 return NumberOfBytesWritten;
72 DWORD dwAccess, dwSharing, dwCreation;
82 switch(iReadWrite & 0x03)
87 default: dwAccess = 0;
break;
91 switch(iReadWrite & 0x70)
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
#define ReadFile(a, b, c, d, e)
#define CreateFileA(a, b, c, d, e, f, g)
#define FILE_ATTRIBUTE_NORMAL
BOOL WINAPI SetEndOfFile(HANDLE hFile)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
int WINAPI _lclose(HFILE hFile)
LONG WINAPI _llseek(HFILE hFile, LONG lOffset, int iOrigin)
HFILE WINAPI _lopen(LPCSTR lpPathName, int iReadWrite)
HFILE WINAPI _lcreat(LPCSTR lpPathName, int iAttribute)
long WINAPI _hwrite(HFILE hFile, LPCSTR lpBuffer, long lBytes)
long WINAPI _hread(HFILE hFile, LPVOID lpBuffer, long lBytes)
#define FILE_ATTRIBUTE_READONLY
#define FILE_ATTRIBUTE_HIDDEN
#define FILE_ATTRIBUTE_SYSTEM
#define OF_SHARE_DENY_READ
#define OF_SHARE_EXCLUSIVE
#define OF_SHARE_DENY_NONE
#define OF_SHARE_DENY_WRITE