mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
c994ba79d1
Reviewed-by: Serge Gautherie <reactos-git_serge_171003@gautherie.fr> Reviewed-by: Mark Jansen <mark.jansen@reactos.org> Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
53 lines
940 B
C
53 lines
940 B
C
#ifndef _MMC_PCH_
|
|
#define _MMC_PCH_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <wingdi.h>
|
|
#include <winuser.h>
|
|
#include <commctrl.h>
|
|
#include <commdlg.h>
|
|
#include <tchar.h>
|
|
|
|
#define WM_USER_CLOSE_CHILD (WM_USER + 1)
|
|
|
|
|
|
/* console.c */
|
|
|
|
BOOL
|
|
RegisterMMCWndClasses(VOID);
|
|
|
|
VOID
|
|
UnregisterMMCWndClasses(VOID);
|
|
|
|
HWND
|
|
CreateConsoleWindow(IN LPCTSTR lpFileName OPTIONAL,
|
|
int nCmdShow);
|
|
|
|
/* misc.c */
|
|
|
|
INT
|
|
LengthOfStrResource(IN HINSTANCE hInst,
|
|
IN UINT uID);
|
|
|
|
INT
|
|
AllocAndLoadString(OUT LPTSTR *lpTarget,
|
|
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;
|
|
extern HWND hwndMainConsole;
|
|
extern HWND hwndMDIClient;
|
|
|
|
#endif /* _MMC_PCH_ */
|