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.

89 lines
2.3 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1993-1994
  4. *
  5. * TITLE: PCH.H
  6. *
  7. * VERSION: 4.01
  8. *
  9. * AUTHOR: Tracy Sharpe
  10. *
  11. * DATE: 05 Mar 1994
  12. *
  13. * Precompiled header for the Registry Editor.
  14. *
  15. ********************************************************************************
  16. *
  17. * CHANGE LOG:
  18. *
  19. * DATE REV DESCRIPTION
  20. * ----------- --- -------------------------------------------------------------
  21. * 05 Mar 1994 TCS Original implementation.
  22. * 07 Apr 1994 TCS Moved the definitions associated to REGISTRY_ROOT to
  23. * REGPORTE.H to be more easily shared by the real mode registry
  24. * tool.
  25. *
  26. *******************************************************************************/
  27. #ifndef _INC_PCH
  28. #define _INC_PCH
  29. #define STRICT
  30. #define _INC_OLE
  31. #include <windows.h>
  32. #include <windowsx.h>
  33. #include <shellapi.h>
  34. #include <shlobj.h>
  35. #include <shlobjp.h>
  36. #include <shlwapi.h>
  37. #include <winuserp.h>
  38. #include <comctrlp.h>
  39. #include <memory.h>
  40. #include <regdef.h>
  41. #include "regporte.h"
  42. #include "regmisc.h"
  43. #define STRSAFE_NO_DEPRECATE
  44. #include <strsafe.h>
  45. #ifndef ARRAYSIZE
  46. #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
  47. #endif
  48. #define IMAGEINDEX(x) ((x) - IDI_FIRSTIMAGE)
  49. typedef struct _EDITVALUEPARAM {
  50. PTSTR pValueName;
  51. PBYTE pValueData;
  52. UINT cbValueData;
  53. } EDITVALUEPARAM, FAR *LPEDITVALUEPARAM;
  54. typedef struct _PORTVALUEPARAM
  55. {
  56. PBYTE pbData;
  57. UINT cbData;
  58. } PORTVALUEPARAM, *LPPORTVALUEPARAM;
  59. // Instance handle of this application.
  60. extern HINSTANCE g_hInstance;
  61. extern TCHAR g_NullString[];
  62. // TRUE if accelerator table should not be used, such as during a rename
  63. // operation.
  64. extern BOOL g_fDisableAccelerators;
  65. extern TCHAR g_KeyNameBuffer[MAXKEYNAME];
  66. extern TCHAR g_ValueNameBuffer[MAXVALUENAME_LENGTH];
  67. extern COLORREF g_clrWindow;
  68. extern COLORREF g_clrWindowText;
  69. extern COLORREF g_clrHighlight;
  70. extern COLORREF g_clrHighlightText;
  71. extern PTSTR g_pHelpFileName;
  72. // Association between the ASCII name and the handle of the registry key.
  73. extern const REGISTRY_ROOT g_RegistryRoots[NUMBER_REGISTRY_ROOTS];
  74. #endif // _INC_PCH