Windows 7 上的 shcore.dll —— 它存在吗? [英] shcore.dll on Windows 7 -- does it exist?
本文介绍了Windows 7 上的 shcore.dll —— 它存在吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用此功能,但我没有 shcore.dll,而且我不知道从哪里获取它.shcore.dll 只是一个 Windows 10 DLL 吗?
I am trying to use this function, but I don't have shcore.dll and I can't figure out where to get it. Is shcore.dll just a 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);
推荐答案
它在 Windows 7 上不可用.基于 需要 Windows 8.1 或更高版本微软的文档.
It is not available on Windows 7. Windows 8.1 or newer is required based on Microsoft's documentation.
这篇关于Windows 7 上的 shcore.dll —— 它存在吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文