靳39.txt
来自「垃圾邮件过滤器」· 文本 代码 · 共 11 行
TXT
11 行
WinMain是Windows程序的入口点函数,和Dos程序的入口点函数main的作用相同,当WinMain函数结束或返回时,Windows应用程序结束。WinMain函数的原型如下:
int WINAPI WinMain( // :: API = Application Programming Interface -> 应用编程接口
HINSTANCE hInstance, // handle to current instance :: instance -> 实例
HINSTANCE hPrevInstance, // handle to previous instance :: previous -> 前一个
LPSTR lpCmdLine, // pointer to command line :: Cmd = command -> 命令
int nCmdShow // show state of window
);
该函数接受四个参数,这些参数都是系统调用WinMain函数时,传递给应用程序的。
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?