win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQueryClassInfo (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINWINDOWMGR
 
BOOL WinQueryClassInfo(hab, pszClassName, pclsi)
HAB hab;             /* handle of the anchor block                 */
PSZ pszClassName;    /* address of the class name                  */
PCLASSINFO pclsi;    /* address of structure for class information */
 
The WinQueryClassInfo function retrieves window class information. This
function is used in creating subclasses of a given class.
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
hab           Identifies an anchor block.
 
pszClassName  Points to a null-terminated string containing the class name.
              The class name is either an application-specified name as
              defined by the WinRegisterClass function or the name of a
              preregistered WC class.
 
pclsi         Points to a CLASSINFO structure that will contain the
              retrieved information about the class.
 
Return Value
 
The return value is TRUE if the function is successful. Otherwise, it is
FALSE, indicating that the class does not exist.
 
See Also
 
WinRegisterClass, CLASSINFO