summaryrefslogtreecommitdiff
path: root/print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h')
-rw-r--r--print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h b/print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h
new file mode 100644
index 00000000..e2f9c6b7
--- /dev/null
+++ b/print/OEM Printer Customization Plug-in Samples/C++/SyncSet/devmode.h
@@ -0,0 +1,57 @@
+// 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 Devmode Defines
+////////////////////////////////////////////////////////
+
+
+
+
+////////////////////////////////////////////////////////
+// OEM Devmode Type Definitions
+////////////////////////////////////////////////////////
+
+//
+//Can add info to the private devmode bellow here.
+//Note :
+// This structure must be prefixed by OEM_DMEXTRAHEADER
+// Your plug-in must implement the IPrintOemUI::DevMode method
+//
+typedef struct tagOEMDEV
+{
+ OEM_DMEXTRAHEADER dmOEMExtra;
+ DWORD dwDriverData;
+ DWORD dwAdvancedData;
+
+ //
+ //Private DevMode Members
+ //
+
+} OEMDEV, *POEMDEV;
+
+typedef const OEMDEV *PCOEMDEV;
+
+
+
+/////////////////////////////////////////////////////////
+// ProtoTypes
+/////////////////////////////////////////////////////////
+
+HRESULT hrOEMDevMode(DWORD dwMode, POEMDMPARAM pOemDMParam);
+BOOL ConvertOEMDevmode(PCOEMDEV pOEMDevIn, POEMDEV pOEMDevOut);
+BOOL MakeOEMDevmodeValid(POEMDEV pOEMDevmode);
+void Dump(PCOEMDEV pOEMDevIn);
+
+