# Function Reference

# _WinAPI_GetSysColorBrush

Retrieves a handle identifying a logical brush that corresponds to the specified color index

#include <WinAPIGdi.au3>
_WinAPI_GetSysColorBrush ( $iIndex )

## Parameters

$iIndex | The display element whose color is to be retrieved

## Return Value

Success: | A logical brush if $iIndex is supported by the current platform
Failure: | 0

## See Also

Search GetSysColorBrush in MSDN Library.