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.

67 lines
1.9 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 "precomp.h"
  21. #include <PRCOMOEM.H>
  22. #include "oem.h"
  23. #include "devmode.h"
  24. #include "globals.h"
  25. #include "helper.h"
  26. #include "features.h"
  27. ////////////////////////////////////////////////////////
  28. // OEM UI Defines
  29. ////////////////////////////////////////////////////////
  30. // OEM Signature and version.
  31. #define PROP_TITLE L"OEM PS UI Replacement Page"
  32. #define DLLTEXT(s) TEXT("PSUIREP: ") TEXT(s)
  33. // OEM UI Misc defines.
  34. #define ERRORTEXT(s) TEXT("ERROR ") DLLTEXT(s)
  35. // Printer registry keys where OEM data is stored.
  36. #define OEMUI_VALUE TEXT("OEMUI_VALUE")
  37. #define OEMUI_DEVICE_VALUE TEXT("OEMUI_DEVICE_VALUE")
  38. ////////////////////////////////////////////////////////
  39. // Prototypes
  40. ////////////////////////////////////////////////////////
  41. HRESULT hrOEMPropertyPage(DWORD dwMode, POEMCUIPPARAM pOEMUIParam);
  42. HRESULT hrOEMDocumentPropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, CUIHelper &Helper, CFeatures *pFeatures,
  43. BOOL bHidingStandardUI);
  44. HRESULT hrOEMDevicePropertySheets(PPROPSHEETUI_INFO pPSUIInfo, LPARAM lParam, CUIHelper &Helper, CFeatures *pFeatures,
  45. BOOL bHidingStandardUI);
  46. POPTITEM CreateOptItems(HANDLE hHeap, DWORD dwOptItems);
  47. POPTTYPE CreateOptType(HANDLE hHeap, WORD wOptParams);
  48. #endif