Can Explain What This Is?
I Know It Opens A GUI Window Saying Goodbye, Cruel World. But Can Somone Explain What Each Part Means And Does For E.g. WINAPI and WinMain(HINSTANCE,
1 2 3 4 5 6 7 8
|
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK);
return 0;
}
|
Thanks
Topic archived. No new replies allowed.