#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstace,HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
{
MessageBox(NULL, TEXT("Hello World"), TEXT("Hello Window"),0);
return 0;
}
Hi, I'm new in this kind of programming, may I know what is this int WINAPI WinMain(HINSTANCE hInstace,HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) actually use for? Is it just like int main()
Is that means every time I want to start wrting this WINAPI program, I must use that? TQ int WINAPI WinMain(HINSTANCE hInstace,HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)