c# - .NET 中是否有与 WinAPI GetColorDirectory 等效的函数?

标签 c# .net icc color-profile

有类似的函数 GetColorDirectory

或者我应该通过 DLL 调用?

目的是获取带有颜色配置文件的系统目录的路径

最佳答案

根据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/

相关文章:

c# - Datagridview 以新形式编辑

c# - 对于返回值的方法,我应该使用 wsHttpBinding 还是 wsDualHttpBinding?

在 Mac OS X 上找不到 C 头文件

c++ - 在旧的 C++ 编译器上 `* const&` 中的临时引入令人费解

c++ - 使用英特尔编译器构建 boost 库

c# - 访问该路径被拒绝

c# - 如何创建表达式<Func<TModel, TProperty>>;

c# - C# 和 SQL Server Management Studio 中 SQL 查询的执行时间非常不同

c# - 为 BLE windows 8.1 开发

c# - FileStream: used by another process错误