int WINAPI WinMain()是什么意思呀

来源:百度知道 编辑:UC知道 时间:2024/06/17 18:34:08
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow
)中的LPSTR lpCmdLine,
int nCmdShow各是什么意思,求你了

WinMain是Windows应用程序的入口函数,其中LPSTR nCmdLine是传递给程序的命令参数,你可以使用GetCommandLine函数来使用它;int nCmdShow参数是窗口的显示方式,运行该程序时调用CreateProcess函数向CreateProess函数传递的相应的值。

WinMain是Windows应用程序的入口函数,其中LPSTR nCmdLine是传递给程序的命令参数,你可以使用GetCommandLine函数来使用它;int nCmdShow参数是窗口的显示方式,运行该程序时调用CreateProcess函数向CreateProess函数传递的相应的值。