Win API for Color Management
-
13 Maret 2012 12:02
Hi ,
Is there a win api to set/unset 'Use Windows display calibration' under the advanced tab in Color Management of Windows in win7?
Thnx.
- Dipindahkan oleh Helen Zhao 15 Maret 2012 3:22 (From:Visual C++ General)
Semua Balasan
-
13 Maret 2012 12:02
Hello,
I found wcS Methods for the above problem "WcsSetCalibrationManagementState" and "WcsGetCalibrationManagementState". But can these functions be used in visual studio 2005? If not, what are the new dll's, changes needed to use it in visual studio 2005?
Thnx
-
13 Maret 2012 15:55
-
15 Maret 2012 3:21
Hi Karan,
According to your description, I'd like to move this thread to "General Windows Desktop Development Issues Forum" for better support.
Thanks for your understanding and active participation in the MSDN Forum.
Best regarsd,Helen Zhao [MSFT]
MSDN Community Support | Feedback to us
-
16 Maret 2012 11:57Moderator
We have no Visual Studio 2005 installed on the system to test it now, the Visual Studio we have are Visual Studio 2008 and 2010, I think you just can have a try to use this function.
And it seems that the WcsSetCalibrationManagementState function is new form Windows SDK 7 [you can query this function definition form the header file], but you can use the Windows SDK 7 with your Visual Studio 2005, but this function will only available when in the Windows 7 System as it said in the header file: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\Icm.h
#if NTDDI_VERSION >= NTDDI_WIN7 BOOL WcsGetCalibrationManagementState ( __out BOOL *pbIsEnabled ); BOOL WcsSetCalibrationManagementState ( __in BOOL bIsEnabled ); #endif
With these links help you could use your Visual Studio 2005 with the new Windows SDK:
http://www.matthewsworkbench.com/visual-studio-2005-and-windows-sdk-v7-1/
http://msdn.microsoft.com/en-us/library/ff660764.aspx
If you got errors, then maybe this can help you: http://support.microsoft.com/kb/949009/
Have a good weekend!
Mike Zhang[MSFT]
MSDN Community Support | Feedback to us
- Diedit oleh Mike Dos ZhangMicrosoft Contingent Staff, Moderator 16 Maret 2012 11:57
- Ditandai sebagai Jawaban oleh Mike Dos ZhangMicrosoft Contingent Staff, Moderator 19 Maret 2012 10:37