How to correct this error
#include <windows.h> #include "helper.h" void OnPaint(HWND); void OnDestroy(HWND); int__stdcall WinMain ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR IpszCmdline, int nCmdShow) { MSG m: InitInstance( hInstance, nCmdShow, "Text"); while( GetMesssage( &m, NULL,0,0)) DispatchMessage(&m); return 0; } LRESULT CALLBACK WndProc ( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch(message) { case WM_DESTROY: OnDestroy(hWnd); break; case WM_PAINT: OnPAINT(hWnd); break; default: return DefWindowProc(hWnd, message, wparam, IParam); } return 0; } void OnDestroy ( HWND hWnd) { PostQuitMessage(0); } void OnPaint( HWND hWnd) { HDC hdc; PAINTSTRUCT ps; HFONT hfont; LOGFONT f={0}; HGDIOBJ holdfont; char*font[]={"Arial","Times New Roman","Comic Sans MS"}; int i; hdc=BeginPaint( hWnd,&ps); for(i=0;i<3;i++) { strcpy(f.IfFaceName,fonts[i]); f.IfHeight=SelectObject(hdc,hfont); SetTextColor(hdc,10,70*i,"HELLO WINDOWS",13); SelectObject(hdc,holdfont); DeleteObject(hfont); } EndPaint(hWnd,&ps); }