Source code of Windows XP (NT5)
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.

85 lines
2.1 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. #include "regdebug.h"
  44. #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
  45. #define IMAGEINDEX(x) ((x) - IDI_FIRSTIMAGE)
  46. typedef struct _EDITVALUEPARAM {
  47. PTSTR pValueName;
  48. PBYTE pValueData;
  49. UINT cbValueData;
  50. } EDITVALUEPARAM, FAR *LPEDITVALUEPARAM;
  51. typedef struct _PORTVALUEPARAM
  52. {
  53. PBYTE pbData;
  54. UINT cbData;
  55. } PORTVALUEPARAM, *LPPORTVALUEPARAM;
  56. // Instance handle of this application.
  57. extern HINSTANCE g_hInstance;
  58. extern TCHAR g_NullString[];
  59. // TRUE if accelerator table should not be used, such as during a rename
  60. // operation.
  61. extern BOOL g_fDisableAccelerators;
  62. extern TCHAR g_KeyNameBuffer[MAXKEYNAME];
  63. extern TCHAR g_ValueNameBuffer[MAXVALUENAME_LENGTH];
  64. extern COLORREF g_clrWindow;
  65. extern COLORREF g_clrWindowText;
  66. extern COLORREF g_clrHighlight;
  67. extern COLORREF g_clrHighlightText;
  68. extern PTSTR g_pHelpFileName;
  69. // Association between the ASCII name and the handle of the registry key.
  70. extern const REGISTRY_ROOT g_RegistryRoots[NUMBER_REGISTRY_ROOTS];
  71. #endif // _INC_PCH