LONG DrvDevicePropertySheets(
PPROPSHEETUI_INFO pPSUIInfo, | |
LPARAM lParam | |
); |
DrvDevicePropertySheets adds the driver’s printer properties page(s) to the specified property sheet.
Parameters
pPSUIInfo
Pointer to a PROPSHEETUI_INFO structure containing the information necessary to call back to the CPSUI for the actual property sheet construction.
lParam
Pointer to a DEVICEPROPERTYHEADER structure.
Return Value
DrvDevicePropertySheets returns a value greater than zero if it succeeds; it returns a value equal to or less than zero if it fails.
Comments
DrvDevicePropertySheets is called when the Print Folder requests that a printer’s device properties be displayed and/or updated on that printer’s property sheet. This function allows vendors to provide device-specific information to the CPSUI for inclusion as a page on a common property sheet.
DrvDevicePropertySheets should follow the implementation guidelines described in the CPSUI reference page for PFNPROPSHEETUI.