LRESULT CALLBACK WinSunProc(
  HWND hwnd,      // handle to window
  UINT uMsg,      // message identifier
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);

解决方案 »

  1.   

    从样子看应该是消息的处理函数吧
    该函数获得所有的消息,在该函数中处理你需要处理的消息,不需要处理的交给WINDOWS处理
      

  2.   

    孙鑫VC++从入门到精通开发详解视频教程里他自定义的窗口消息处理函数,函数原型:
    LRESULT CALLBACK WindowProc(
      HWND hwnd,      // handle to window
      UINT uMsg,      // message identifier
      WPARAM wParam,  // first message parameter
      LPARAM lParam   // second message parameter
    );