最佳答案
根据MSDN您使用 API 调用它:
[DllImport(DllImport.Mscms, CharSet = CharSet.Auto, BestFitMapping = false)]
internal static extern bool GetColorDirectory(IntPtr pMachineName, StringBuilder pBuffer, ref uint pdwSize);
关于c# - .NET 中是否有与 WinAPI GetColorDirectory 等效的函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14792764/