Is there an analogue of the function GetColorDirectory?

Or should I just call through a DLL?

The purpose is to get the path to the system directory with color profiles

有帮助吗?

解决方案

As per MSDN you call it using the API:

[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)]
internal static extern bool GetColorDirectory(IntPtr pMachineName, StringBuilder pBuffer, ref uint pdwSize);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top