EnumPropPages

BOOL EnumPropPages(LPDEVICE_INFO lpdi, 
<     LPFNADDPROPSHEETPAGE AddPropSheetPageProc, 
<     LPARAM lParam);
 

Adds property pages to the default property sheet. This provider-supplied function is called by the Device Manager before the default property sheet is displayed.

lpdi
Address of a DEVICE_INFO structure that contains information about the device or class that the user has requested properties for.
AddPropSheetPageProc
Address of the system-supplied callback function. For more information about this callback, see the AddPropSheetPageProc function.
lParam
System-supplied data. This data must be passed unchanged to the AddPropSheetPageProc function.