4ae294c0c39237fd76baba7e6d7e1fcd4e5a2a7d
[reactos.git] / reactos / base / applications / mmc / precomp.h
1 #include <stdarg.h>
2 #include <windef.h>
3 #include <winbase.h>
4 #include <winuser.h>
5 #include <commctrl.h>
6 #include <tchar.h>
7
8 #include "resource.h"
9
10 #define WM_USER_CLOSE_CHILD (WM_USER + 1)
11
12
13 /* console.c */
14
15 BOOL
16 RegisterMMCWndClasses(VOID);
17
18 VOID
19 UnregisterMMCWndClasses(VOID);
20
21 HWND
22 CreateConsoleWindow(IN LPCTSTR lpFileName OPTIONAL,
23 int nCmdShow);
24
25 /* misc.c */
26
27 INT
28 LengthOfStrResource(IN HINSTANCE hInst,
29 IN UINT uID);
30
31 DWORD
32 LoadAndFormatString(IN HINSTANCE hInstance,
33 IN UINT uID,
34 OUT LPTSTR *lpTarget,
35 ...);
36
37 /* mmc.c */
38
39 extern HINSTANCE hAppInstance;
40 extern HANDLE hAppHeap;
41 extern HWND hwndMainConsole;
42 extern HWND hwndMDIClient;