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.

58 lines
1.6 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 1997 - 2003 Microsoft Corporation. All Rights Reserved.
  7. //
  8. // FILE: OEMUI.H
  9. //
  10. //
  11. // PURPOSE: Define common data types, and external function prototypes
  12. // for OEMUI Test Module.
  13. //
  14. // PLATFORMS:
  15. // Windows 2000, Windows XP, Windows Server 2003
  16. //
  17. //
  18. #ifndef _OEMUI_H
  19. #define _OEMUI_H
  20. #include <PRCOMOEM.H>
  21. #include "OEM.H"
  22. #include "DEVMODE.H"
  23. #include "globals.h"
  24. ////////////////////////////////////////////////////////
  25. // OEM UI Defines
  26. ////////////////////////////////////////////////////////
  27. // OEM Signature and version.
  28. #define PROP_TITLE L"OEM UI Page"
  29. #define DLLTEXT(s) TEXT("UI: ") TEXT(s)
  30. // OEM UI Misc defines.
  31. #define ERRORTEXT(s) TEXT("ERROR ") DLLTEXT(s)
  32. // Printer registry keys where OEM data is stored.
  33. #define OEMUI_VALUE TEXT("OEMUI_VALUE")
  34. #define OEMUI_DEVICE_VALUE TEXT("OEMUI_DEVICE_VALUE")
  35. ////////////////////////////////////////////////////////
  36. // Prototypes
  37. ////////////////////////////////////////////////////////
  38. HRESULT hrOEMPropertyPage(DWORD dwMode, POEMCUIPPARAM pOEMUIParam);
  39. HRESULT hrOEMDocumentPropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, IPrintOemDriverUI* pOEMHelp);
  40. HRESULT hrOEMDevicePropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam);
  41. #endif