The SetupIterateCabinet function iterates through all the files in a cabinet and sends a notification to a callback function for each file found.
BOOL SetupIterateCabinet(
PCTSTR CabinetFile, // name of the cabinet file
DWORD Reserved, // this parameter is not used
PSP_FILE_CALLBACK MsgHandler, // callback routine to use
PVOID Context // callback routine context
);
If the function succeeds, the return value is a non-zero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Windows NT: Use version 4.0 and later.
Windows: Use Windows 95 and later.
Windows CE: Unsupported.
Header: Declared in setupapi.h.
Import Library: Link with setupapi.lib.