
Result := DllCall("GetDeviceGammaRamp", "UInt", hdc, "UInt", &Gamma)it returns 1 which is boolen True but i don't get the values in Gamma variable The RGB values must be stored in the most significant bits of each WORD to increase DAC independence. The sequence of the arrays is red, green, blue. The gamma ramp is specified in three arrays of 256 WORD elements each, which contain the mapping between RGB values in the frame buffer and digital-analog-converter (DAC) values. lpRamp : Pointer to a buffer containing the gamma ramp to be set.


Lexikos adviced me on this issueīasically i'm trying to use these two API GetDeviceGammaRamp & SetDeviceGammaRamp
