Skip to content

Commit 6ceb09f

Browse files
committed
Update ScreenCut.cs
1 parent 4276d61 commit 6ceb09f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WPFDevelopers.Shared/Controls/ScreenCut/ScreenCut.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void GetDpi(this Screen screen, DpiType dpiType, out uint dpiX, ou
4747

4848
public static bool CanUsePerMonitorDpi()
4949
{
50-
IntPtr hModule = Win32.LoadLibrary("shcore.dll");
50+
IntPtr hModule = Win32.LoadLibrary(Win32.Shcore);
5151
if (hModule == IntPtr.Zero)
5252
return false;
5353
IntPtr procAddr = Win32.GetProcAddress(hModule, "GetDpiForMonitor");

0 commit comments

Comments
 (0)