Skip to content

Latest commit

 

History

History
108 lines (84 loc) · 3.19 KB

nf-prcomoem-iprintoemuni-devmode.md

File metadata and controls

108 lines (84 loc) · 3.19 KB
UID title description old-location 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
NF:prcomoem.IPrintOemUni.DevMode
IPrintOemUni::DevMode (prcomoem.h)
The IPrintOemUni::DevMode method, provided by rendering plug-ins for Unidrv, performs operations on private DEVMODEW members.
print\iprintoemuni_devmode.htm
print
04/20/2018
IPrintOemUni::DevMode
DevMode, DevMode method [Print Devices], DevMode method [Print Devices],IPrintOemUni interface, IPrintOemUni interface [Print Devices],DevMode method, IPrintOemUni.DevMode, IPrintOemUni::DevMode, prcomoem/IPrintOemUni::DevMode, print.iprintoemuni_devmode, print_unidrv-pscript_rendering_f7793c3f-de50-4699-a9f1-bf73f8171ecc.xml
prcomoem.h
Prcomoem.h
Desktop
Windows
IPrintOemUni::DevMode
prcomoem/IPrintOemUni::DevMode
APIRef
kbSyntax
COM
Prcomoem.h
IPrintOemUni::DevMode

IPrintOemUni::DevMode

-description

The IPrintOemUni::DevMode method, provided by rendering plug-ins for Unidrv, performs operations on private DEVMODEW members.

-parameters

-param dwMode

Specifies a caller-supplied constant. See the Remarks section for more information.

-param pOemDMParam

Caller-supplied pointer to an OEMDMPARAM structure.

-returns

The method must return one of the following values.

Return code Description
S_OK
The operation succeeded.
E_FAIL
The operation failed

-remarks

A rendering plug-in for Unidrv must implement the IPrintOemUni::DevMode method.

If you are providing a user interface plug-in for Unidrv, and if you are adding private members to the driver's DEVMODEW structure, you must implement both the IPrintOemUI::DevMode and the IPrintOemUni::DevMode methods. The code implementing these methods must be identical and can be placed in a library that is statically linked to both the UI plug-in and the rendering plug-in.

The IPrintOemUni::DevMode method must perform the operation indicated by its dwMode value. Each time IPrintOemUni::DevMode is called, dwMode contains one of the following constants, which are listed in the order they are received:

-see-also

IPrintOemUI::DevMode

IPrintOemUni