The GetClassInfo function retrieves information about a window class.
The GetClassInfo function has been superseded by the GetClassInfoEx function. You can still use GetClassInfo, however, if you do not need information about the class small icon.
BOOL GetClassInfo(
HINSTANCE hInstance, |
// handle of application instance |
LPCTSTR lpClassName, |
// address of class name string |
LPWNDCLASS lpWndClass |
// address of structure for class data |
); |
If the function finds a matching class and successfully copies the data, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
GetClassInfoEx, GetClassLong, GetClassName, GetClassWord, GlobalAddAtom, RegisterClass, WNDCLASS