// printoem.h
typedef struct _OEMUIPSPARAM {
DWORD cbSize;
POEMUIOBJ poemuiobj;
HANDLE hPrinter;
PWSTR pPrinterName;
HANDLE hModule;
HANDLE hOEMHeap;
PDEVMODE pPublicDM;
PVOID pOEMDM;
PVOID pOEMUserData;
DWORD dwFlags;
PVOID pOemEntry;
} OEMUIPSPARAM, *POEMUIPSPARAM;
View the official Windows Driver Kit DDI referenceNo description available.
The OEMUIPSPARAM structure is passed to a user interface plug-in's IPrintOemUI::DevicePropertySheets and IPrintOemUI::DocumentPropertySheets methods.
cbSizeSize of the OEMUIPSPARAM structure. Supplied by the Unidrv or Pscript5 driver.
poemuiobjNot used.
hPrinterHandle to the printer. Supplied by the Unidrv or Pscript5 driver.
pPrinterNameString containing the printer name. Supplied by the Unidrv or Pscript5 driver.
hModuleHandle to the user interface plug-in. Supplied by the Unidrv or Pscript5 driver.
hOEMHeapHandle to a heap from which space can be allocated by calling the HeapAlloc function. Supplied by the Unidrv or Pscript5 driver.
pPublicDMCaller-supplied pointer to the printer's public DEVMODEW structure.
Not used.
pOEMDMFor calls to IPrintOemUI::DocumentPropertySheets Caller-supplied pointer to the user interface plug-in's private DEVMODEW members.
For calls to IPrintOemUI::DevicePropertySheets Not used.
pOEMUserDataPointer, supplied by user interface plug-in, to a location containing private information. This pointer is returned to the plug-in's _CPSUICALLBACK-typed callback function when a property sheet item has changed.
dwFlagsFor calls to IPrintOemUI::DocumentPropertySheets Contains the contents of the fMode member of the DOCUMENTPROPERTYHEADER structure received by the printer driver's DrvDocumentPropertySheets function.
For calls to IPrintOemUI::DevicePropertySheets Contains the contents of the Flags member of the DEVICEPROPERTYHEADER structure received by the printer driver's DrvDevicePropertySheets function.
pOemEntryReserved for system use.
IPrintOemUI::DevicePropertySheets
IPrintOemUI::DocumentPropertySheets