CLASSENTRY

3.1

#include <toolhelp.h>

typedef struct tagCLASSENTRY {  /* ce */
    DWORD   dwSize;
    HMODULE hInst;
    char    szClassName[MAX_CLASSNAME + 1];
    WORD    wNext;
} CLASSENTRY;

The CLASSENTRY structure contains the name of a Windows class and a near pointer to the next class in the list. For more information about Windows classes, see the GetClassInfo function in the Microsoft Windows Programmer's Reference, Volume 2.

Members

dwSize

Specifies the size of the CLASSENTRY structure, in bytes.

hInst

Identifies the instance handle of the task that owns the class. An application needs this handle to call GetClassInfo. The hInst member is really a handle to a module, since Windows classes are owned by modules. Therefore, this hInst will not match the hInst passed as a parameter to the WinMain function of the owning task.

szClassName

Specifies the null-terminated string that contains the class name. An application needs this name to call GetClassInfo.

wNext

Specifies the next class in the list. This member is reserved for internal use by Windows.

See Also

ClassFirst, ClassNext