diff options
Diffstat (limited to 'print/OEM Printer Customization Plug-in Samples/C++/bitmap/devmode.h')
| -rw-r--r-- | print/OEM Printer Customization Plug-in Samples/C++/bitmap/devmode.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/print/OEM Printer Customization Plug-in Samples/C++/bitmap/devmode.h b/print/OEM Printer Customization Plug-in Samples/C++/bitmap/devmode.h new file mode 100644 index 00000000..5f62454f --- /dev/null +++ b/print/OEM Printer Customization Plug-in Samples/C++/bitmap/devmode.h @@ -0,0 +1,37 @@ +// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF +// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO +// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A +// PARTICULAR PURPOSE. +// +// Copyright 1998 - 2003 Microsoft Corporation. All Rights Reserved. +// +// FILE: Devmode.h +// +// +// PURPOSE: Define common data types, and external function prototypes +// for devmode functions. +// + +#pragma once + +//////////////////////////////////////////////////////// +// OEM Private Devmode Definition +//////////////////////////////////////////////////////// + +typedef struct tagOEMDEV +{ + OEM_DMEXTRAHEADER dmOEMExtra; + BOOL dwDriverData; +} OEMDEV, *POEMDEV; + +typedef const OEMDEV *PCOEMDEV; + +///////////////////////////////////////////////////////// +// ProtoTypes +///////////////////////////////////////////////////////// + +HRESULT hrOEMDevMode(DWORD dwMode, POEMDMPARAM pOemDMParam); +BOOL bConvertOEMDevmode(PCOEMDEV pOEMDevIn, POEMDEV pOEMDevOut); +BOOL bMakeOEMDevmodeValid(POEMDEV pOEMDevmode); + + |
