* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
svn path=/trunk/; revision=61564
#include "regedit.h"
+#include <shellapi.h>
+
void ShowAboutBox(HWND hWnd)
{
WCHAR AppStr[255];
#include "regedit.h"
+#define NTOS_MODE_USER
+#include <ndk/cmtypes.h>
+
typedef enum _EDIT_MODE
{
EDIT_MODE_DEC,
#include "regedit.h"
+#include <commdlg.h>
+#include <cderr.h>
+#include <objsel.h>
+
/********************************************************************************
* Global and Local Variables:
*/
*/
#include "regedit.h"
+
typedef struct
{
HWND hWndSelf;
#include "regedit.h"
-
#define CX_ICON 16
#define CY_ICON 16
#define NUM_ICONS 2
BOOL ProcessCmdLine(LPWSTR lpCmdLine);
-
/*******************************************************************************
* Global Variables:
*/
#include "regedit.h"
-
static const LPCWSTR usage =
L"Usage:\n"
L" regedit filenames\n"
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
#define WIN32_NO_STATUS
#include <windows.h>
-
-#define NTOS_MODE_USER
-#include <ndk/cmtypes.h>
-
#include <commctrl.h>
-#include <shellapi.h>
#include <shlwapi.h>
#include <stdio.h>
#include <aclapi.h>
-#include <commdlg.h>
-#include <cderr.h>
-#include <objsel.h>
-#include <assert.h>
#include "main.h"
#include "regproc.h"
#include "hexedit.h"
#include "security.h"
-#endif
-
-/* EOF */
+#endif /* _REGEDIT_H */
#include "regedit.h"
+#include <assert.h>
+
#define REG_VAL_BUF_SIZE 4096
/* maximal number of characters in hexadecimal data line,
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#pragma once
+
#define KEY_MAX_LEN 1024
#define REG_FORMAT_5 1