我正在尝试使用此函数,但我没有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);