SRB2/src/win32ce/win_file.h

19 lines
448 B
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
#ifndef FILE_H
#define FILE_H
// New File I/O functions
int FileAccess(LPCTSTR, DWORD);
HANDLE FileAppend(LPCTSTR FileName);
void FileClose(HANDLE);
HANDLE FileCreate(LPCTSTR);
DWORD FileLength(HANDLE);
HANDLE FileOpen(LPCTSTR);
DWORD FileRead(HANDLE, LPCVOID, DWORD);
DWORD FileSeek(HANDLE hFile, LONG distance, DWORD method);
DWORD FileWrite(HANDLE, LPCVOID, DWORD);
int access(char* file,int type);
unsigned int file_len(char* file);
#endif