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