Sample Code

Windows Driver Samples/ OEM Printer Customization Plug-in Samples/ C++/ gdl/ src/ 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
45
46
47
48
49
//+--------------------------------------------------------------------------
//
//  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 - 2006  Microsoft Corporation.  All Rights Reserved.
//
//  FILE:       devmode.h
//   
//  PURPOSE:    Define common data types, and external function prototypes
//              for devmode functions.
//
//--------------------------------------------------------------------------
 
#pragma once
 
#define OEM_SIGNATURE               'GDLS'
#define OEM_VERSION                 0x00000001L
 
//
// OEM private DEVMODE data structure.  This gets included in the DEVMODE
// used by Unidrv.
//
typedef struct tagOEMDEV
{
    OEM_DMEXTRAHEADER   dmOEMExtra;
        // This structure MUST be prefixed by OEM_DMEXTRAHEADER
 
    //
    // Add private DevMode members here, after the standard header
    // information.
    //
 
} OEMDEV, *POEMDEV;
 
typedef const OEMDEV *PCOEMDEV;
 
 
//
// Prototypes
//
 
HRESULT
hrOEMDevMode(
    DWORD dwMode,
    _Inout_ POEMDMPARAM pOemDMParam
    );

Our Services

  • What our customers say about us?

© 2011-2025 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS