我正在尝试使用此功能,但我没有shcore.dll,我无法弄清楚从哪里得到它.shcore.dll只是一个Windows 10 DLL吗?
[DllImport("Shcore.dll")]
internal static extern IntPtr GetDpiForMonitor(
[In] IntPtr hmonitor,
[In] MonitorDpiType dpiType,
[Out] out uint dpiX,
[Out] out uint dpiY);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6498 次 |
| 最近记录: |