typedef struct _DEVICEPROPERTYHEADER { WORD cbSize; WORD Flags; HANDLE hPrinter; LPTSTR pszPrinterName; } DEVICEPROPERTYHEADER, *PDEVICEPROPERTYHEADER;
The DEVICEPROPERTYHEADER structure is passed to DrvDevicePropertySheets as the lParam parameter.
The Print Folder initializes and provides a pointer to this structure to DrvDevicePropertySheets when a user requests that a device’s property sheet page(s) be displayed.