SPFILENOTIFY_FILEEXTRACTED

The SPFILENOTIFY_FILEEXTRACTED notification is sent to a callback routine by SetupIterateCabinet to indicate either that a file was extracted from the cabinet or that an extraction failed and cabinet processing has been canceled.

SPFILENOTIFY_FILEEXTRACTED
    Param1 = (UINT) FilePathInfo;
    Param2 = (UINT) 0;
 

Parameters

Param1
Pointer to a FILEPATHS structure that contains path information for the extracted file. The SourceFile member of the FILEPATHS structure contains the full Win32 source path of the cabinet. The TargetFile member supplies the full Win32 target path of the file to be installed on the system.
Param2
Unused.

Return Values

The cabinet callback routine should return one of the following values.

Value Meaning
NO_ERROR No error was encountered, continue processing the cabinet.
ERROR_XXX An error of the specified type occurred. SetupIterateCabinet will return zero. GetLastError will return the specified error code.

Note There is no default cabinet callback routine supplied with the Setup API. Your setup application should supply a callback routine to handle the notifications sent by the SetupIterateCabinet function.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.

See Also

Overview, Notifications, FILEPATHS, SetupIterateCabinet