//  ࠡ稪 ᮮ饭    "GenericWndClass" 

MRESULT EXPENTRY WinProc (HWND Window, ULONG Message, MPARAM First_parameter, MPARAM Second_parameter)
{
  // ਬ  襤襥 ᮮ饭  믮塞 ⢨.
  switch (Message) 
  {
    //  :
    case WM_CREATE: 
      ...
    return 0;

    // ᮢ ᮤন:
    case WM_PAINT: 
      HPS Presentation_space = WinBeginPaint (Window, 0, NULL);
      ...
      WinEndPaint (Presentation_space);
    return 0;
  }

  // 뢠 ࠡ稪  㬮砭.
  return WinDefWindowProc (Window, Message, First_parameter, Second_parameter);
}
