📄 靳39.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -