Skip to content

Latest commit

 

History

History
102 lines (74 loc) · 3.38 KB

ns-printoem-_devobj.md

File metadata and controls

102 lines (74 loc) · 3.38 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:printoem._DEVOBJ
DEVOBJ (printoem.h)
The DEVOBJ structure is used as an input argument to several of a rendering plug-in's COM interface methods.
print
08/12/2022
DEVOBJ structure
*PDEVOBJ, DEVOBJ, DEVOBJ structure [Print Devices], _DEVOBJ, print.devobj, print_unidrv-pscript_rendering_defda1bb-3862-4b55-a7bf-38b040667c97.xml, printoem/DEVOBJ
printoem.h
Printoem.h
Windows
Windows
*PDEVOBJ, DEVOBJ
_DEVOBJ
printoem/_DEVOBJ
PDEVOBJ
printoem/PDEVOBJ
DEVOBJ
printoem/DEVOBJ
APIRef
kbSyntax
HeaderDef
printoem.h
_DEVOBJ
PDEVOBJ
DEVOBJ

-description

The DEVOBJ structure is used as an input argument to several of a rendering plug-in's COM interface methods.

-struct-fields

-field dwSize

Specifies the size, in bytes, of the DEVOBJ structure. Supplied by the Unidrv or Pscript5 driver.

-field pdevOEM

Pointer to the rendering plug-in's private PDEV structure, as returned by IPrintOemUni::EnablePDEV or IPrintOemPS::EnablePDEV. Supplied by the Unidrv or Pscript5 driver.

-field hEngine

GDI handle to the physical device. This handle is received by the printer driver's DrvCompletePDEV function, as the function's hdev argument.

-field hPrinter

Spooler's handle to the printer. This handle is received by the printer driver's DrvEnablePDEV function, as the function's hDriver argument.

-field hOEM

Plug-in instance handle. Supplied by the Unidrv or Pscript5 driver.

-field pPublicDM

Pointer to the printer's DEVMODEW structure. Supplied by the Unidrv or Pscript5 driver.

-field pOEMDM

Pointer to the rendering plug-in's private DEVMODEW structure members. Supplied by the Unidrv or Pscript5 driver.

-field pDrvProcs

  Not used. In a previous version of the interface, this was a pointer to a [DRVPROCS](./ns-printoem-_drvprocs.md) structure.

-remarks

The DEVOBJ structure is accessible to graphics DDI hooking functions through the SURFOBJ structure's dhpdev member. For more information, see IPrintOemUni::EnablePDEV or IPrintOemPS::EnablePDEV.

-see-also

DEVMODEW

DrvCompletePDEV

DrvEnablePDEV

IPrintOemPS::EnablePDEV

IPrintOemUni::EnablePDEV

SURFOBJ