2014-02-03 16:13:37 +00:00
|
|
|
#ifndef _MMC_PCH_
|
|
|
|
#define _MMC_PCH_
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <stdarg.h>
|
2014-01-06 20:59:11 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
2016-01-16 15:17:12 +00:00
|
|
|
#include <wingdi.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <winuser.h>
|
2016-01-16 15:17:12 +00:00
|
|
|
#include <commctrl.h>
|
|
|
|
#include <commdlg.h>
|
|
|
|
#include <tchar.h>
|
2007-03-08 17:44:10 +00:00
|
|
|
|
2013-08-25 21:43:46 +00:00
|
|
|
#define WM_USER_CLOSE_CHILD (WM_USER + 1)
|
|
|
|
|
|
|
|
|
2007-03-08 17:44:10 +00:00
|
|
|
/* console.c */
|
|
|
|
|
|
|
|
BOOL
|
|
|
|
RegisterMMCWndClasses(VOID);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
UnregisterMMCWndClasses(VOID);
|
|
|
|
|
|
|
|
HWND
|
2013-08-25 21:43:46 +00:00
|
|
|
CreateConsoleWindow(IN LPCTSTR lpFileName OPTIONAL,
|
|
|
|
int nCmdShow);
|
2007-03-08 17:44:10 +00:00
|
|
|
|
|
|
|
/* misc.c */
|
|
|
|
|
|
|
|
INT
|
|
|
|
LengthOfStrResource(IN HINSTANCE hInst,
|
|
|
|
IN UINT uID);
|
|
|
|
|
|
|
|
DWORD
|
|
|
|
LoadAndFormatString(IN HINSTANCE hInstance,
|
|
|
|
IN UINT uID,
|
|
|
|
OUT LPTSTR *lpTarget,
|
|
|
|
...);
|
|
|
|
|
|
|
|
/* mmc.c */
|
|
|
|
|
|
|
|
extern HINSTANCE hAppInstance;
|
|
|
|
extern HANDLE hAppHeap;
|
2013-08-25 21:43:46 +00:00
|
|
|
extern HWND hwndMainConsole;
|
|
|
|
extern HWND hwndMDIClient;
|
2014-02-03 16:13:37 +00:00
|
|
|
|
|
|
|
#endif /* _MMC_PCH_ */
|