Win API for Color Management
-
martedì 13 marzo 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.
- Spostato Helen Zhao giovedì 15 marzo 2012 03:22 (From:Visual C++ General)
Tutte le risposte
-
martedì 13 marzo 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
-
martedì 13 marzo 2012 15:55
-
giovedì 15 marzo 2012 03: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
-
venerdì 16 marzo 2012 11:57Moderatore
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
- Modificato Mike Dos ZhangMicrosoft Contingent Staff, Moderator venerdì 16 marzo 2012 11:57
- Contrassegnato come risposta Mike Dos ZhangMicrosoft Contingent Staff, Moderator lunedì 19 marzo 2012 10:37

