[REGEDIT]

* 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
This commit is contained in:
Amine Khaldi 2014-01-07 17:08:52 +00:00
parent 6731470ec2
commit 2d73d7982e
10 changed files with 15 additions and 15 deletions

View file

@ -20,6 +20,8 @@
#include "regedit.h" #include "regedit.h"
#include <shellapi.h>
void ShowAboutBox(HWND hWnd) void ShowAboutBox(HWND hWnd)
{ {
WCHAR AppStr[255]; WCHAR AppStr[255];

View file

@ -20,6 +20,9 @@
#include "regedit.h" #include "regedit.h"
#define NTOS_MODE_USER
#include <ndk/cmtypes.h>
typedef enum _EDIT_MODE typedef enum _EDIT_MODE
{ {
EDIT_MODE_DEC, EDIT_MODE_DEC,

View file

@ -20,6 +20,10 @@
#include "regedit.h" #include "regedit.h"
#include <commdlg.h>
#include <cderr.h>
#include <objsel.h>
/******************************************************************************** /********************************************************************************
* Global and Local Variables: * Global and Local Variables:
*/ */

View file

@ -19,6 +19,7 @@
*/ */
#include "regedit.h" #include "regedit.h"
typedef struct typedef struct
{ {
HWND hWndSelf; HWND hWndSelf;

View file

@ -20,7 +20,6 @@
#include "regedit.h" #include "regedit.h"
#define CX_ICON 16 #define CX_ICON 16
#define CY_ICON 16 #define CY_ICON 16
#define NUM_ICONS 2 #define NUM_ICONS 2

View file

@ -22,7 +22,6 @@
BOOL ProcessCmdLine(LPWSTR lpCmdLine); BOOL ProcessCmdLine(LPWSTR lpCmdLine);
/******************************************************************************* /*******************************************************************************
* Global Variables: * Global Variables:
*/ */

View file

@ -20,7 +20,6 @@
#include "regedit.h" #include "regedit.h"
static const LPCWSTR usage = static const LPCWSTR usage =
L"Usage:\n" L"Usage:\n"
L" regedit filenames\n" L" regedit filenames\n"

View file

@ -4,25 +4,14 @@
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */ #define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include <windows.h> #include <windows.h>
#define NTOS_MODE_USER
#include <ndk/cmtypes.h>
#include <commctrl.h> #include <commctrl.h>
#include <shellapi.h>
#include <shlwapi.h> #include <shlwapi.h>
#include <stdio.h> #include <stdio.h>
#include <aclapi.h> #include <aclapi.h>
#include <commdlg.h>
#include <cderr.h>
#include <objsel.h>
#include <assert.h>
#include "main.h" #include "main.h"
#include "regproc.h" #include "regproc.h"
#include "hexedit.h" #include "hexedit.h"
#include "security.h" #include "security.h"
#endif #endif /* _REGEDIT_H */
/* EOF */

View file

@ -23,6 +23,8 @@
#include "regedit.h" #include "regedit.h"
#include <assert.h>
#define REG_VAL_BUF_SIZE 4096 #define REG_VAL_BUF_SIZE 4096
/* maximal number of characters in hexadecimal data line, /* maximal number of characters in hexadecimal data line,

View file

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#pragma once
#define KEY_MAX_LEN 1024 #define KEY_MAX_LEN 1024
#define REG_FORMAT_5 1 #define REG_FORMAT_5 1