# Function Reference

# _WinAPI_GetClassLongEx

Retrieves the specified value associated with the specified window

#include <WinAPISysWin.au3>
_WinAPI_GetClassLongEx ( $hWnd, $iIndex )

## Parameters

$hWnd | Handle to the window.
$iIndex | The value to retrieve. This parameter can be one of the following values. $GCL_CBCLSEXTRA $GCL_CBWNDEXTRA $GCL_HBRBACKGROUND $GCL_HCURSOR $GCL_HICON $GCL_HICONSM $GCL_HMODULE $GCL_MENUNAME $GCL_STYLE $GCL_WNDPROC

## Return Value

Success: | The requested value.
Failure: | 0, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search GetClassLong in MSDN Library.