IPrintOemUni::DevMode method, provided by rendering plug-ins for Unidrv, performs operations on private DEVMODEW members.
HRESULT DevMode( DWORD dwMode, POEMDMPARAM pOemDMParam );
Specifies a caller-supplied constant. See the Remarks section for more information.
Caller-supplied pointer to an OEMDMPARAM structure.
The method must return one of the following values.
||The operation succeeded.|
||The operation failed|
A rendering plug-in for Unidrv must implement the
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.
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:
|Header||prcomoem.h (include Prcomoem.h)|