ReactOS  0.4.15-dev-5097-g328cc41
precomp.h
Go to the documentation of this file.
1 #ifndef _MMC_PCH_
2 #define _MMC_PCH_
3 
4 #include <stdarg.h>
5 
6 #include <windef.h>
7 #include <winbase.h>
8 #include <wingdi.h>
9 #include <winuser.h>
10 #include <commctrl.h>
11 #include <commdlg.h>
12 #include <tchar.h>
13 
14 #define WM_USER_CLOSE_CHILD (WM_USER + 1)
15 
16 
17 /* console.c */
18 
19 BOOL
21 
22 VOID
24 
25 HWND
27  int nCmdShow);
28 
29 /* misc.c */
30 
31 INT
33  IN UINT uID);
34 
35 INT
36 AllocAndLoadString(OUT LPTSTR *lpTarget,
38  IN UINT uID);
39 
40 DWORD
42  IN UINT uID,
43  OUT LPTSTR *lpTarget,
44  ...);
45 
46 /* mmc.c */
47 
48 extern HINSTANCE hAppInstance;
49 extern HANDLE hAppHeap;
50 extern HWND hwndMainConsole;
51 extern HWND hwndMDIClient;
52 
53 #endif /* _MMC_PCH_ */
HINSTANCE hInstance
Definition: charmap.c:20
#define IN
Definition: typedefs.h:39
const CHAR * LPCTSTR
Definition: xmlstorage.h:193
INT LengthOfStrResource(IN HINSTANCE hInst, IN UINT uID)
Definition: misc.c:23
HINSTANCE hInst
Definition: dxdiag.c:13
int32_t INT
Definition: typedefs.h:58
CHAR * LPTSTR
Definition: xmlstorage.h:192
HINSTANCE hAppInstance
Definition: mmc.c:23
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL RegisterMMCWndClasses(VOID)
Definition: console.c:526
HWND hwndMDIClient
Definition: mmc.c:26
VOID UnregisterMMCWndClasses(VOID)
Definition: console.c:576
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPTSTR *lpTarget,...)
Definition: misc.c:85
HWND hwndMainConsole
Definition: mmc.c:25
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
Definition: misc.c:59
unsigned int UINT
Definition: ndis.h:50
#define OUT
Definition: typedefs.h:40
HANDLE hAppHeap
Definition: mmc.c:24
_In_ LPCSTR lpFileName
Definition: winbase.h:3055
HWND CreateConsoleWindow(IN LPCTSTR lpFileName OPTIONAL, int nCmdShow)
Definition: console.c:585
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68