IPrintOemUI::DevMode method, provided by user interface plug-ins, performs operations on the plug-in's private DEVMODEW members.
HRESULT DevMode( DWORD dwMode, POEMDMPARAM pOemDMParam );
Caller-supplied constant. See the following Remarks section.
Caller-supplied pointer to an OEMDMPARAM structure.
The method must return one of the following values.
||The operation succeeded.|
||The operation failed.|
||The method is not implemented.|
User interface plug-ins must implement a
IPrintOemUI::DevMode method if they define private DEVMODEW structure members. The method's purpose is to define, validate, or convert (from one version to another) the contents of the private DEVMODEW structure members.
A private DEVMODEW section must be prefaced by a OEM_DMEXTRAHEADER structure.
IPrintOemUI::DevMode method must perform the operation indicated by its dwMode value. Each time
IPrintOemUI::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)|