Function Reference


_WinAPI_GetBkColor

Retrieves the current background color for the specified device context

#include <WinAPIGdi.au3>
_WinAPI_GetBkColor ( $hDC )

Parameters

$hDC Handle to the device context.

Return Value

Success: The value of the current background color, in RGB.
Failure: (-1).

See Also

Search GetBkColor in MSDN Library.