Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB

  1. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright 1998 - 2003 Microsoft Corporation. All Rights Reserved.
  7. //
  8. // FILE: Devmode.h
  9. //
  10. //
  11. // PURPOSE: Define common data types, and external function prototypes
  12. // for devmode functions.
  13. //
  14. // PLATFORMS:
  15. //
  16. // Windows 2000, Windows XP, Windows Server 2003
  17. //
  18. //
  19. #ifndef _DEVMODE_H
  20. #define _DEVMODE_H
  21. ////////////////////////////////////////////////////////
  22. // OEM Devmode Defines
  23. ////////////////////////////////////////////////////////
  24. ////////////////////////////////////////////////////////
  25. // OEM Devmode Type Definitions
  26. ////////////////////////////////////////////////////////
  27. typedef struct tagOEMDEV
  28. {
  29. OEM_DMEXTRAHEADER dmOEMExtra;
  30. BOOL dwDriverData;
  31. } OEMDEV, *POEMDEV;
  32. typedef const OEMDEV *PCOEMDEV;
  33. /////////////////////////////////////////////////////////
  34. // ProtoTypes
  35. /////////////////////////////////////////////////////////
  36. HRESULT hrOEMDevMode(DWORD dwMode, POEMDMPARAM pOemDMParam);
  37. BOOL ConvertOEMDevmode(PCOEMDEV pOEMDevIn, POEMDEV pOEMDevOut);
  38. BOOL MakeOEMDevmodeValid(POEMDEV pOEMDevmode);
  39. void Dump(PCOEMDEV pOEMDevIn);
  40. #endif