Windows 7上是否存在shcore.dll?

8

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

2
自 Windows 8.1 开始,已经添加了每个监视器的 DPI 缩放功能,因此在 Windows 7 中不可用。 - magicandre1981
1个回答

12

该软件不支持 Windows 7,根据微软的文档要求需要至少使用 Windows 8.1。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接