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);
Question
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
La solution
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);