ATOM WINAPI RegisterClassEx( __in const WNDCLASSEX *lpwcx );
其中WNDCLASSEX的结构
typedef struct tagWNDCLASSEX { UINT cbSize; //UINT = unsigned int UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; HINSTANCE hInstance; HICON hIcon; HCURSOR hCursor; HBRUSH hbrBackground; LPCTSTR lpszMenuName; LPCTSTR lpszClassName; HICON hIconSm; } WNDCLASSEX, *PWNDCLASSEX;