###User Defined Function###
_WinAPI_GetDeviceGammaRamp

###Description###
Gets the gamma ramp on direct color display boards that support downloadable gamma ramps in hardware.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_GetDeviceGammaRamp ( $hDC, ByRef $aRamp )


###Parameters###
@@ParamTable@@
$hDC
	Handle to a device context of the direct color display board in question.
$aRamp
	Returns the 2D array ([r1, g1, b1], [r2, g2, b2], ... [r256, g256, b256]) that is created by this function, and where the function place the current gamma ramp of the color display board.
	Each element in this array is an integer value with a range from 0 to 65535 which is a mapping between RGB values in the frame buffer and digital-analog-converter (DAC) values.
	(See MSDN for more information)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	1.
Failure 	0.
@@End@@


###Remarks###
Direct color display modes do not use color lookup tables and are usually 16, 24, or 32 bit.
Not all direct color video boards support loadable gamma ramps.
The <a href="_WinAPI_GetDeviceGammaRamp.htm">_WinAPI_GetDeviceGammaRamp()</a> succeeds only for devices with drivers that support downloadable gamma ramps in hardware.


###Related###


###See Also###
@@MsdnLink@@ GetDeviceGammaRamp


###Example###
@@IncludeExample@@
