devmode.h
上传用户:looem2003
上传日期:2014-07-20
资源大小:13733k
文件大小:1k
- // 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.
- //
- // PLATFORMS:
- //
- // Windows XP, Windows Server 2003, Windows codenamed Longhorn
- //
- //
- // History:
- // 06/24/03 xxx created.
- //
- //
- #ifndef _DEVMODE_H
- #define _DEVMODE_H
- ////////////////////////////////////////////////////////
- // OEM Devmode Defines
- ////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////
- // OEM Devmode Type Definitions
- ////////////////////////////////////////////////////////
- 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);
- #endif