|
|
|
|
@ -244,7 +244,11 @@ bool SNetSendTurn(char *data, unsigned int databytes);
|
|
|
|
|
bool SFileOpenFile(const char *filename, HANDLE *phFile); |
|
|
|
|
|
|
|
|
|
// Functions implemented in StormLib
|
|
|
|
|
#if defined(_WIN64) || defined(_WIN32) |
|
|
|
|
bool WINAPI SFileOpenArchive(const wchar_t *szMpqName, DWORD dwPriority, DWORD dwFlags, HANDLE *phMpq); |
|
|
|
|
#else |
|
|
|
|
bool WINAPI SFileOpenArchive(const char *szMpqName, DWORD dwPriority, DWORD dwFlags, HANDLE *phMpq); |
|
|
|
|
#endif |
|
|
|
|
bool WINAPI SFileCloseArchive(HANDLE hArchive); |
|
|
|
|
bool WINAPI SFileOpenFileEx(HANDLE hMpq, const char *szFileName, DWORD dwSearchScope, HANDLE *phFile); |
|
|
|
|
bool WINAPI SFileReadFile(HANDLE hFile, void *buffer, DWORD nNumberOfBytesToRead, DWORD *read, int *lpDistanceToMoveHigh); |
|
|
|
|
|