DEVICEPROPERTYHEADER

typedef struct _DEVICEPROPERTYHEADER {

    WORD            cbSize;

    WORD            Flags;

    HANDLE          hPrinter;

    LPTSTR          pszPrinterName;

} DEVICEPROPERTYHEADER, *PDEVICEPROPERTYHEADER;

The DEVICEPROPERTYHEADER structure is passed to DrvDevicePropertySheets as the lParam parameter.

Members

cbSize

Size of this structure, in bytes.

Flags

Reserved. Must be set to zero.

hPrinter

Handle to the printer whose printer properties are being queried or set.

pszPrinterName

Pointer to a null-terminated string that specifies the name of the printer.

Comments

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.

See Also

PFNPROPSHEETUI