Interface for PostScript OEM sample rendering module. More...
#include <intrface.h>
Public Member Functions | |
STDMETHOD() | QueryInterface (THIS_ REFIID riid, LPVOID FAR *ppvObj) |
This function returns the requested interface for the object, if available. | |
STDMETHOD_ (ULONG, AddRef)(THIS) | |
This function adds a reference to the object. | |
STDMETHOD_ (ULONG, Release)(THIS) | |
This function removes a reference of the object, deleting it if necessary. | |
STDMETHOD() | PublishDriverInterface (THIS_ IUnknown *pIUnknown) |
Method for retrieving the Core Print Driver interface. | |
STDMETHOD() | EnableDriver (THIS_ DWORD DriverVersion, DWORD cbSize, PDRVENABLEDATA pded) |
Method for OEM to specify DDI hook out. | |
STDMETHOD() | DisableDriver (THIS) |
Method to notify OEM plugin that it is no longer required. | |
STDMETHOD() | EnablePDEV (THIS_ PDEVOBJ pdevobj, PWSTR pPrinterName, ULONG cPatterns, HSURF *phsurfPatterns, ULONG cjGdiInfo, GDIINFO *pGdiInfo, ULONG cjDevInfo, DEVINFO *pDevInfo, DRVENABLEDATA *pded, OUT PDEVOEM *pDevOem) |
Method for OEM to contruct its own PDEV. | |
STDMETHOD() | DisablePDEV (THIS_ PDEVOBJ pdevobj) |
Method for OEM to free any resource associated with its PDEV. | |
STDMETHOD() | ResetPDEV (THIS_ PDEVOBJ pdevobjOld, PDEVOBJ pdevobjNew) |
Method for OEM to transfer from old PDEV to new PDEV. | |
STDMETHOD() | GetInfo (THIS_ DWORD dwMode, PVOID pBuffer, DWORD cbSize, PDWORD pcbNeeded) |
Get OEM dll related information. | |
STDMETHOD() | DevMode (THIS_ DWORD dwMode, POEMDMPARAM pOemDMParam) |
OEMDevMode. | |
STDMETHOD() | Command (THIS_ PDEVOBJ pdevobj, DWORD dwIndex, PVOID pData, DWORD cbSize, OUT DWORD *pdwResult) |
OEMCommand - PSCRIPT only, return E_NOTIMPL on Unidrv. | |
IOemPS () | |
Constructor. | |
~IOemPS () | |
Destructor. | |
Protected Attributes | |
long | m_cRef |
Count of references for this object. | |
IPrintOemDriverPS * | m_pOEMHelp |
Pointer to the core printer driver object. |
Interface for PostScript OEM sample rendering module.
Definition at line 36 of file intrface.h.
IOemPS::IOemPS | ( | ) |
Constructor.
Constructor of IOemPS - increments component and reference counts
Definition at line 58 of file intrface.cpp.
References m_cRef, and m_pOEMHelp.
IOemPS::~IOemPS | ( | ) |
Destructor.
Destructor of IOemPS - frees helper object (if used), decrements locks and reference count
Definition at line 75 of file intrface.cpp.
References m_cRef, and m_pOEMHelp.