Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
Hi,
I'd like to programmatically operate on monitor color calibration on Windows 7 like the wizard "desktop properties/display/calibrate color", and I'd like to change the RGB values. Where can I start to search a solution? Which APIs are envolved?

Can you help me?

Regards,
Daniele
Posted
Comments
Sergey Alexandrovich Kryukov 26-Apr-11 17:48pm    
This is quite a difficult task. My 5 for asking :-)
--SA

Hello Daniele,

SetDeviceGammaRamp is not a full monitor calibration. You should create an ICC profile for that.
 
Share this answer
 
Comments
Dave Kreskowiak 22-Nov-23 12:06pm    
You might want to look at the date on the question. I doubt you're going to get an answer 12 years after the fact.
Leonardo T. 24-Nov-23 18:07pm    
Hello Dave, the answer may be useful to other people reading the question
Hi all,
after a very long reverse engineering operation on dccw.exe I found that monitor color calibration can be performed via the SetDeviceGammaRamp api, I found also these link ;-) :

http://www.pinvoke.net/default.aspx/gdi32/getdevicegammaramp.html[^]

http://www.pinvoke.net/default.aspx/gdi32.setdevicegammaramp[^]


Regards,
Daniele
 
Share this answer
 
I am not sure if I understood your question correctly. Take a look at SetSysColors on pinvoke.net[^].

Ignore, looks like I read the question wrong.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900