Пример #1
0
 public static extern uint SFileGetFileSize(MpqFileSafeHandle hFile, ref uint pdwFileSizeHigh);
Пример #2
0
 public static extern bool SFileSetFileLocale(MpqFileSafeHandle hFile, uint lcNewLocale);
Пример #3
0
 public static extern bool SFileOpenFileEx(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName, uint dwSearchScope, out MpqFileSafeHandle phFile);
Пример #4
0
 public static extern bool SFileWriteFile(MpqFileSafeHandle hFile, IntPtr pvData, uint dwSize, uint dwCompression);
Пример #5
0
 public static extern bool SFileFinishFile(MpqFileSafeHandle hFile);
Пример #6
0
 public static extern bool SFileGetFileName(MpqFileSafeHandle hFile, [MarshalAs(UnmanagedType.LPStr)] out string szFileName);
Пример #7
0
 public static extern bool SFileGetFileInfo(MpqFileSafeHandle hMpqOrFile, SFileInfoClass InfoClass, IntPtr pvFileInfo, uint cbFileInfoSize, out uint pcbLengthNeeded);
Пример #8
0
 public static extern bool SFileCloseFile(MpqFileSafeHandle hFile);
Пример #9
0
 public static extern bool SFileReadFile(MpqFileSafeHandle hFile, IntPtr lpBuffer, uint dwToRead, out uint pdwRead, ref System.Threading.NativeOverlapped lpOverlapped);
Пример #10
0
 public static extern uint SFileSetFilePointer(MpqFileSafeHandle hFile, uint lFilePos, ref uint plFilePosHigh, uint dwMoveMethod);