WCHAR Cabinet[MAX_PATH];
USHORT Index;
PCFFILE File; // Pointer to current CFFILE
+ PCFDATA CFData;
+ ULONG Offset;
} CAB_SEARCH, *PCAB_SEARCH;
/* Classes */
/* Default constructor */
-VOID CabinetInitialize();
+VOID CabinetInitialize(VOID);
/* Default destructor */
-VOID CabinetCleanup();
+VOID CabinetCleanup(VOID);
/* Returns a pointer to the filename part of a fully qualified filename */
PWCHAR CabinetGetFileName(PWCHAR Path);
/* Removes a filename from a fully qualified filename */
/* Normalizes a path */
BOOL CabinetNormalizePath(PWCHAR Path, ULONG Length);
/* Returns name of cabinet file */
-PWCHAR CabinetGetCabinetName();
+PWCHAR CabinetGetCabinetName(VOID);
/* Sets the name of the cabinet file */
VOID CabinetSetCabinetName(PWCHAR FileName);
/* Sets destination path for extracted files */
VOID CabinetSetDestinationPath(PWCHAR DestinationPath);
/* Returns destination path */
-PWCHAR CabinetGetDestinationPath();
+PWCHAR CabinetGetDestinationPath(VOID);
/* Returns zero-based current disk number */
-ULONG CabinetGetCurrentDiskNumber();
+ULONG CabinetGetCurrentDiskNumber(VOID);
/* Opens the current cabinet file */
-ULONG CabinetOpen();
+ULONG CabinetOpen(VOID);
/* Closes the current open cabinet file */
-VOID CabinetClose();
+VOID CabinetClose(VOID);
/* Locates the first file in the current cabinet file that matches a search criteria */
ULONG CabinetFindFirst(PWCHAR FileName, PCAB_SEARCH Search);
-/* Locates the next file in the current cabinet file */
+/* Locates the next file that matches the current search criteria */
ULONG CabinetFindNext(PCAB_SEARCH Search);
+/* Locates the next file in the current cabinet file sequentially */
+ULONG CabinetFindNextFileSequential(PWCHAR FileName, PCAB_SEARCH Search);
/* Extracts a file from the current cabinet file */
ULONG CabinetExtractFile(PCAB_SEARCH Search);
/* Select codec engine to use */