글

라벨이 WinMain()인 게시물 표시

[Win32 API] WinMain()

Syntax _____________________________________________________________________________________ int  WINAPI WinMain ( HINSTANCE hInstance,                    HINSTANCE hPrevInstance,                    LPSTR lpCmdLine,                     int  nCmdShow ) ; _______________________________________________________________________ Parameters hInstance : Handle to the current instance of the App. hPrevInstance : Handle to the previous instance of the App.  Win32-based application, this parameter is always NULL . lpCmdLine : Point to a null-terminated string the command line for the application like c style - int main( string args[] ) nShowCmd : Specifies how the window is to be shown. This parameter can be one of the following values SW_HIDE : Hides the window. SW_SHOW : Displays the window. SW_SHOWNA : Displays a w...