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
89 lines
2.3 KiB
/*******************************************************************************
|
|
*
|
|
* (C) COPYRIGHT MICROSOFT CORP., 1993-1994
|
|
*
|
|
* TITLE: PCH.H
|
|
*
|
|
* VERSION: 4.01
|
|
*
|
|
* AUTHOR: Tracy Sharpe
|
|
*
|
|
* DATE: 05 Mar 1994
|
|
*
|
|
* Precompiled header for the Registry Editor.
|
|
*
|
|
********************************************************************************
|
|
*
|
|
* CHANGE LOG:
|
|
*
|
|
* DATE REV DESCRIPTION
|
|
* ----------- --- -------------------------------------------------------------
|
|
* 05 Mar 1994 TCS Original implementation.
|
|
* 07 Apr 1994 TCS Moved the definitions associated to REGISTRY_ROOT to
|
|
* REGPORTE.H to be more easily shared by the real mode registry
|
|
* tool.
|
|
*
|
|
*******************************************************************************/
|
|
|
|
#ifndef _INC_PCH
|
|
#define _INC_PCH
|
|
|
|
#define STRICT
|
|
#define _INC_OLE
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
#include <shellapi.h>
|
|
#include <shlobj.h>
|
|
#include <shlobjp.h>
|
|
#include <shlwapi.h>
|
|
#include <winuserp.h>
|
|
#include <comctrlp.h>
|
|
#include <memory.h>
|
|
#include <regdef.h>
|
|
#include "regporte.h"
|
|
#include "regmisc.h"
|
|
|
|
#define STRSAFE_NO_DEPRECATE
|
|
#include <strsafe.h>
|
|
|
|
#ifndef ARRAYSIZE
|
|
#define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0]))
|
|
#endif
|
|
|
|
#define IMAGEINDEX(x) ((x) - IDI_FIRSTIMAGE)
|
|
|
|
typedef struct _EDITVALUEPARAM {
|
|
PTSTR pValueName;
|
|
PBYTE pValueData;
|
|
UINT cbValueData;
|
|
} EDITVALUEPARAM, FAR *LPEDITVALUEPARAM;
|
|
|
|
typedef struct _PORTVALUEPARAM
|
|
{
|
|
PBYTE pbData;
|
|
UINT cbData;
|
|
} PORTVALUEPARAM, *LPPORTVALUEPARAM;
|
|
|
|
// Instance handle of this application.
|
|
extern HINSTANCE g_hInstance;
|
|
|
|
extern TCHAR g_NullString[];
|
|
|
|
// TRUE if accelerator table should not be used, such as during a rename
|
|
// operation.
|
|
extern BOOL g_fDisableAccelerators;
|
|
|
|
extern TCHAR g_KeyNameBuffer[MAXKEYNAME];
|
|
extern TCHAR g_ValueNameBuffer[MAXVALUENAME_LENGTH];
|
|
|
|
extern COLORREF g_clrWindow;
|
|
extern COLORREF g_clrWindowText;
|
|
extern COLORREF g_clrHighlight;
|
|
extern COLORREF g_clrHighlightText;
|
|
|
|
extern PTSTR g_pHelpFileName;
|
|
|
|
// Association between the ASCII name and the handle of the registry key.
|
|
extern const REGISTRY_ROOT g_RegistryRoots[NUMBER_REGISTRY_ROOTS];
|
|
|
|
#endif // _INC_PCH
|