winmain.h

来自「This software performs code conversion o」· C头文件 代码 · 共 63 行

H
63
字号
// winmain.h

#ifndef WINMAIN_H
#define WINMAIN_H


#ifdef __cplusplus
extern "C" {
#endif


#if defined _CONSOLE || defined _WINDOWS && ! defined _USRDLL
#if defined NOARG || defined NOCRT
int winmain_ ( void ) ;
#else
int winmain_ ( int argc, char *argv [] ) ;
#endif
#define main   winmain_
#endif


#if defined _CONSOLE
void EnableAlertOnClose ( void ) ;
void DisableAlertOnClose ( void ) ;
int IsConsole ( void ) ;
#endif


#if defined _CONSOLE || defined _WINDOWS && ! defined _USRDLL
char *GetArgumentA ( int nCount ) ;
wchar_t *GetArgumentW ( int nCount ) ;
#endif


#ifdef UNICODE
#define GetArgument GetArgumentW
#else
#define GetArgument GetArgumentA
#endif


#if defined NOARG && ! defined _USRDLL
char *GetWinMainCmdLineA ( void ) ;
wchar_t *GetWinMainCmdLineW ( void ) ;
#endif


#ifdef UNICODE
#define GetWinMainCmdLine GetWinMainCmdLineW
#else
#define GetWinMainCmdLine GetWinMainCmdLineA
#endif


#ifdef __cplusplus
}
#endif


#endif // WINMAIN_H


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?