Hola al compilar un programa me da el siguiente error. Es el ejemplo inicial para aprender la Api de windows:
error C2731: 'WinMain' : function cannot be overloaded   
Trozo de codigo:
int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
   MSG Mensaje;
   if(!hPrevInstance)
   {
      if(!IniciaAplicacion(hInstance))
         return FALSE;
   }    
   if(!IniciaInstancia(hInstance,nCmdShow))
         return (FALSE);
   while (GetMessage(&Mensaje, NULL,NULL,NULL))
   {
      TranslateMessage(&Mensaje);
      DispatchMessage(&Mensaje);
   }
   return (Mensaje.wParam);
}
No encuentro la solucion a esto. ¿Alguien puede ayudarme? Muchas Gracias.