注册窗口类如下:
if (!RegisterClass (&wc)) {
MessageBox (NULL, TEXT ("This program requires Windows NT!"),
szAppName,MB_ICONERROR) ;
return 0 ;
}
if (!RegisterClass (&wc)) {
MessageBox (NULL, TEXT ("This program requires Windows NT!"),
szAppName,MB_ICONERROR) ;
return 0 ;
}