//调用api函数创建窗口
//示例:
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);//窗口过程函数
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
static TCHAR szAppName[] = TEXT(\"MyWindows\");//定义窗口类名
HWND hwnd;//窗口句柄
MSG msg; //