Sample Code
Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ custhlp/ oemui.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 45 46 | // 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 1997 - 2003 Microsoft Corporation. All Rights Reserved. // // FILE: OEMUI.H // // PURPOSE: Define common data types, and external function prototypes // for property sheet handling. // #pragma once #include "DEVMODE.H" #include "globals.h" //////////////////////////////////////////////////////// // Custom Help Defines //////////////////////////////////////////////////////// #define CUSDRV_HELPTOPIC_1 15001 #define CUSDRV_HELPTOPIC_2 15002 //////////////////////////////////////////////////////// // OEM UI Defines //////////////////////////////////////////////////////// // OEM Signature and version. #define PROP_TITLE L"OEM UI Page" #define OEM_SIGNATURE 'MSFT' #define OEM_VERSION 0x00000001L // Printer registry keys where OEM data is stored. #define OEMUI_VALUE TEXT("OEMUI_VALUE") #define OEMUI_DEVICE_VALUE TEXT("OEMUI_DEVICE_VALUE") //////////////////////////////////////////////////////// // Prototypes //////////////////////////////////////////////////////// HRESULT hrOEMPropertyPage( DWORD dwMode, POEMCUIPPARAM pOEMUIParam); HRESULT hrOEMDocumentPropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, IPrintOemDriverUI* pOEMHelp); HRESULT hrOEMDevicePropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam); |
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