SP_FILE_CALLBACK

The SP_FILE_CALLBACK data type is a pointer to a callback routine that has the format expected by the setup functions. For information on how to build a callback routine, see Notifications, Creating a Custom Queue Callback Routine, and Creating a Cabinet Callback Routine.

typedef UINT (*PSP_FILE_CALLBACK)(
    PVOID Context,          //context used by the callback routine
    UINT Notification,      //notification sent to callback routine
    UINT Param1,            //additional notification information
    UINT Param2             //additional notification information 
);
 

Members

Context
Supplies context information about the queue notification being returned to the callback function.
Notification
Specifies the occurrence that triggered the call to the callback function.
Param1
Specifies additional notification information; the value is dependent on which notification is being returned.
Param2
Specifies additional notification information; the value is dependent on which notification is being returned.

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, Data Types, SetupCommitFileQueue, SetupInstallFile, SetupInstallFileEx, SetupInstallFromInfSection, SetupIterateCabinet