Sample Code
Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ custhlp/ devmode.h/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // 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: The plug-in private devmode, common data types, and // external function prototypes for devmode functions. // #pragma once // //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); |
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials