# Function Reference

# _WinAPI_GetClassInfoEx

Retrieves information about a window class

#include <WinAPISysWin.au3>
_WinAPI_GetClassInfoEx ( $sClass [, $hInstance = 0] )

## Parameters

$sClass | The class name. The name must be that of a preregistered class or a class registered by a previous call to the _WinAPI_RegisterClass() or _WinAPI_RegisterClassEx() function. Alternatively, this parameter can be a class atom. The atom must be in the low-order word of $sClass; the high-order word must be zero.
$hInstance | [optional] Handle to the instance of the application that created the class. To retrieve information about classes defined by the system (such as buttons or list boxes), set this parameter to 0 (Default).

## Return Value

Success: | $tagWNDCLASSEX structure that contains the information about the class.
Failure: | Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

## Related

_WinAPI_RegisterClass, _WinAPI_RegisterClassEx

## See Also

Search GetClassInfoEx in MSDN Library.