OEMUIPSPARAM structure

The OEMUIPSPARAM structure is passed to a user interface plug-in's IPrintOemUI::DevicePropertySheets and IPrintOemUI::DocumentPropertySheets methods.

Syntax

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;

Members

cbSize

Size of the OEMUIPSPARAM structure. Supplied by the Unidrv or Pscript5 driver.

poemuiobj

Not used.

hPrinter

Handle to the printer. Supplied by the Unidrv or Pscript5 driver.

pPrinterName

String containing the printer name. Supplied by the Unidrv or Pscript5 driver.

hModule

Handle to the user interface plug-in. Supplied by the Unidrv or Pscript5 driver.

hOEMHeap

Handle to a heap from which space can be allocated by calling the Microsoft Windows SDK HeapAlloc function. Supplied by the Unidrv or Pscript5 driver.

pPublicDM

For calls to IPrintOemUI::DocumentPropertySheets:

Caller-supplied pointer to the printer's public DEVMODEW structure.

For calls to IPrintOemUI::DevicePropertySheets:

Not used.

pOEMDM

For calls to IPrintOemUI::DocumentPropertySheets:

Caller-supplied pointer to the user interface plug-in's private DEVMODEW members.

For calls to IPrintOemUI::DevicePropertySheets:

Not used.

pOEMUserData

Pointer, 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.

dwFlags

For 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.

pOemEntry

Reserved for system use.

Requirements

   
Header printoem.h (include Printoem.h)

See Also

DrvDevicePropertySheets

DrvDocumentPropertySheets

IPrintOemUI::DevicePropertySheets

IPrintOemUI::DocumentPropertySheets

_CPSUICALLBACK