Function Reference


_WinAPI_InvertRgn

Inverts the colors in the specified region

#include <WinAPIGdi.au3>
_WinAPI_InvertRgn ( $hDC, $hRgn )

Parameters

$hDC Handle to the device context.
$hRgn Handle to the region for which colors are inverted. The region's coordinates are
presumed to be logical coordinates.

Return Value

Success: True
Failure: False

Remarks

On monochrome screens, the _WinAPI_InvertRgn() function makes white pixels black and black pixels white. On color
screens, this inversion is dependent on the type of technology used to generate the colors for the screen.

See Also

Search InvertRgn in MSDN Library.