[CLASS2]
[reactos.git] / base / applications / mmc / precomp.h
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
20 RegisterMMCWndClasses(VOID);
21
22 VOID
23 UnregisterMMCWndClasses(VOID);
24
25 HWND
26 CreateConsoleWindow(IN LPCTSTR lpFileName OPTIONAL,
27 int nCmdShow);
28
29 /* misc.c */
30
31 INT
32 LengthOfStrResource(IN HINSTANCE hInst,
33 IN UINT uID);
34
35 DWORD
36 LoadAndFormatString(IN HINSTANCE hInstance,
37 IN UINT uID,
38 OUT LPTSTR *lpTarget,
39 ...);
40
41 /* mmc.c */
42
43 extern HINSTANCE hAppInstance;
44 extern HANDLE hAppHeap;
45 extern HWND hwndMainConsole;
46 extern HWND hwndMDIClient;
47
48 #endif /* _MMC_PCH_ */