×
Create a new article
Write your page title here:
We currently have 179 articles on Open Eggbert. Type your article name above or click on one of the titles below and start writing!



Open Eggbert
179Articles

Windows API: Difference between revisions

(Created page with ".")
 
No edit summary
Line 1: Line 1:
.
== int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) ==
hInstance - application handle
 
hPrevInstance - obsolete parameter, which is always null
 
lpCmdLine - command line, which started the application, similar to the args parameter to main in C
 
nCmdShow - specifies the starting mode of the application (minimized, maximized or normal)

Revision as of 15:25, 27 October 2024

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)

hInstance - application handle

hPrevInstance - obsolete parameter, which is always null

lpCmdLine - command line, which started the application, similar to the args parameter to main in C

nCmdShow - specifies the starting mode of the application (minimized, maximized or normal)