コード例 #1
0
 public static extern int SFileVerifyRawData(MpqArchiveSafeHandle hMpq, uint dwWhatToVerify, [MarshalAs(UnmanagedType.LPStr)] string szFileName);
コード例 #2
0
 public static extern bool SFileOpenPatchArchive(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPTStr)] string szPatchMpqName, [MarshalAs(UnmanagedType.LPStr)] string szPatchPathPrefix, OpenArchiveFlags dwFlags);
コード例 #3
0
 public static extern bool SFileHasFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName);
コード例 #4
0
 public static extern bool SFileSetMaxFileCount(MpqArchiveSafeHandle hMpq, uint dwMaxFileCount);
コード例 #5
0
 public static extern bool SFileSetAttributes(MpqArchiveSafeHandle hMpq, uint dwFlags);
コード例 #6
0
 public static extern int SFileAddListFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szListFile);
コード例 #7
0
 public static extern bool SFileCompactArchive(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szListFile, bool bReserved);
コード例 #8
0
 public static extern bool SFileCreateFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szArchiveName, ulong fileTime, uint dwFileSize, uint lcLocale, uint dwFlags, out MpqFileSafeHandle phFile);
コード例 #9
0
 public static bool SFileCreateFile(MpqArchiveSafeHandle hMpq, string szArchiveName, _TFileEntry entry, out MpqFileSafeHandle phFile)
 {
     return(SFileCreateFile(hMpq, szArchiveName, entry.FileTime, entry.dwFileSize, entry.lcLocale, entry.dwFlags, out phFile));
 }
コード例 #10
0
 public static extern int SFileEnumLocales(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName, IntPtr plcLocales, ref uint pdwMaxLocales, uint dwSearchScope);
コード例 #11
0
 public static extern bool SFileCreateArchive([MarshalAs(UnmanagedType.LPTStr)] string szMpqName, uint dwCreateFlags, uint dwMaxFileCount, out MpqArchiveSafeHandle phMpq);
コード例 #12
0
 public static extern IntPtr SListFileFindFirstFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szListFile, [MarshalAs(UnmanagedType.LPStr)] string szMask, [In, Out] ref _SFILE_FIND_DATA lpFindFileData);
コード例 #13
0
 public static extern bool SFileOpenArchive([MarshalAs(UnmanagedType.LPTStr)] string szMpqName, uint dwPriority, OpenArchiveFlags dwFlags, out MpqArchiveSafeHandle phMpq);
コード例 #14
0
 public static extern uint SFileVerifyArchive(MpqArchiveSafeHandle hMpq);
コード例 #15
0
 public static extern bool SFileFlushArchive(MpqArchiveSafeHandle hMpq);
コード例 #16
0
 public static extern bool SFileAddFileEx(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPTStr)] string szFileName, [MarshalAs(UnmanagedType.LPStr)] string szArchivedName, uint dwFlags, uint dwCompression, uint dwCompressionNext);
コード例 #17
0
 public static extern bool SFileCloseArchive(MpqArchiveSafeHandle hMpq);
コード例 #18
0
 public static extern bool SFileAddWave(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPTStr)] string szFileName, [MarshalAs(UnmanagedType.LPStr)] string szArchivedName, uint dwFlags, uint dwQuality);
コード例 #19
0
 public static extern bool SFileSetCompactCallback(MpqArchiveSafeHandle hMpq, SFILE_COMPACT_CALLBACK compactCB, IntPtr pvUserData);
コード例 #20
0
 public static extern bool SFileRemoveFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName, uint dwSearchScope);
コード例 #21
0
 public static extern uint SFileGetMaxFileCount(MpqArchiveSafeHandle hMpq);
コード例 #22
0
 public static extern bool SFileRenameFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szOldFileName, [MarshalAs(UnmanagedType.LPStr)] string szNewFileName);
コード例 #23
0
 public static extern uint SFileGetAttributes(MpqArchiveSafeHandle hMpq);
コード例 #24
0
 public static extern bool SFileCreateArchive2([MarshalAs(UnmanagedType.LPTStr)] string szMpqName, ref SFILE_CREATE_MPQ pCreateInfo, out MpqArchiveSafeHandle phMpq);
コード例 #25
0
 public static extern bool SFileUpdateFileAttributes(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName);
コード例 #26
0
 public static extern bool SFileSetAddFileCallback(MpqArchiveSafeHandle hMpq, SFILE_ADDFILE_CALLBACK AddFileCB, IntPtr pvUserData);
コード例 #27
0
 public static extern bool SFileIsPatchedArchive(MpqArchiveSafeHandle hMpq);
コード例 #28
0
 public static extern bool SFileSetDownloadCallback(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.FunctionPtr)] SFILE_DOWNLOAD_CALLBACK pfnCallback, IntPtr pvUserData);
コード例 #29
0
 public static extern bool SFileOpenFileEx(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName, uint dwSearchScope, out MpqFileSafeHandle phFile);
コード例 #30
0
 public static extern uint SFileVerifyFile(MpqArchiveSafeHandle hMpq, [MarshalAs(UnmanagedType.LPStr)] string szFileName, uint dwFlags);