2016-05-05 13 views
0

私はこの機能を使用しようとしていますが、私はshcore.dllを持っていないので、どこから入手するのか分かりません。 shcore.dllはWindows 10のDLLですか?shcore.dll - それは存在しますか?

[DllImport("Shcore.dll")] 
     internal static extern IntPtr GetDpiForMonitor(
      [In] IntPtr hmonitor, 
      [In] MonitorDpiType dpiType, 
      [Out] out uint dpiX, 
      [Out] out uint dpiY); 
+1

に基づいて必要とされます。 – magicandre1981

答えて

3

は、これは、Windows 7上では使用できません のWindows 8.1以降がwin7のでは利用できない、ないので、8.1で始まるを添加したモニターDPIスケーリングあたりMicrosoft's documentation.

関連する問題