CCPrintUI/oemui.h File Reference

Define function prototypes for Print Plugin UI Module based on oemui.h Printer Driver UI Plugin Sample by Microsoft Corporation. More...

#include "CCPrintUI.H"
#include "DEVMODE.H"
#include "globals.h"
Include dependency graph for oemui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HRESULT hrOEMPropertyPage (DWORD dwMode, POEMCUIPPARAM pOEMUIParam)
 Initializes OptItems to display the device or document property UI.
HRESULT hrOEMDocumentPropertySheets (PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, struct IPrintOemDriverUI *pOEMHelp)
 Document property page callback function.
HRESULT hrOEMDevicePropertySheets (PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, struct IPrintOemDriverUI *pOEMHelp)
 Device property page callback function.

Detailed Description

Define function prototypes for Print Plugin UI Module based on oemui.h Printer Driver UI Plugin Sample by Microsoft Corporation.

Definition in file oemui.h.


Function Documentation

HRESULT hrOEMDevicePropertySheets ( PPROPSHEETUI_INFO  pPSUIInfo,
LPARAM  lParam,
IPrintOemDriverUI *  pOEMHelp 
)

Device property page callback function.

Parameters:
pPSUIInfo Pointer to the property pages data structure
lParam Additional data (depends on values in pPSUIInfo
pOEMHelp Pointer to the core PS printer object
Returns:
S_OK if all went well, E_FAIL otherwise

Definition at line 380 of file oemui.cpp.

HRESULT hrOEMDocumentPropertySheets ( PPROPSHEETUI_INFO  pPSUIInfo,
LPARAM  lParam,
IPrintOemDriverUI *  pOEMHelp 
)

Document property page callback function.

Parameters:
pPSUIInfo Pointer to the property pages data structure
lParam Additional data (depends on values in pPSUIInfo
pOEMHelp Pointer to the core PS printer object
Returns:
S_OK if all went well, E_FAIL otherwise

Definition at line 272 of file oemui.cpp.

References DocUserData::bSave, DocUserData::hPrinter, DocUserData::pDevMode, CCPrintPropPage::PreparePage(), CCPrintUIPropPage::SetCallbackData(), and WriteOEMDevToRegistry().

HRESULT hrOEMPropertyPage ( DWORD  dwMode,
POEMCUIPPARAM  pOEMUIParam 
)

Initializes OptItems to display the device or document property UI.

Parameters:
dwMode Type of pages to initialize
pOEMUIParam Pointer to UI data structure
Returns:
S_OK if all went well, E_FAIL otherwise

Definition at line 106 of file oemui.cpp.


Generated on Mon Jun 18 12:52:24 2012 for Excel to PDF Converter by doxygen 1.6.1