ReactOS 0.4.15-dev-8131-g4988de4
regedt32.c
Go to the documentation of this file.
1#define WIN32_NO_STATUS
2#define WIN32_LEAN_AND_MEAN
3#include <windows.h>
4#include <tchar.h>
5#include <shellapi.h>
6#include <shlwapi.h>
7
8#define REGEDIT _T("regedit.exe")
9
10int
13 HINSTANCE hPrevInst,
14 LPTSTR lpsCmdLine,
15 int nCmdShow)
16{
18
20 {
23 NULL,
24 szPath,
25 lpsCmdLine,
26 NULL,
27 nCmdShow);
28 }
29 else
30 {
32 NULL,
33 REGEDIT,
34 lpsCmdLine,
35 NULL,
36 nCmdShow);
37 }
38
39 return 0;
40}
#define NULL
Definition: types.h:112
#define MAX_PATH
Definition: compat.h:34
#define _tWinMain
Definition: tchar.h:498
LPCWSTR szPath
Definition: env.c:37
#define REGEDIT
Definition: regedt32.c:8
#define ShellExecute
Definition: shellapi.h:693
#define PathAppend
Definition: shlwapi.h:801
#define GetWindowsDirectory
Definition: winbase.h:3857
#define WINAPI
Definition: msvc.h:6
char TCHAR
Definition: xmlstorage.h:189
CHAR * LPTSTR
Definition: xmlstorage.h:192