2 references to Win32SetThreadsDpiHostingBehaviorFailed
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Internals\ScaleHelper.DpiAwarenessScope.cs (2)
64
throw new Win32Exception(Marshal.GetLastWin32Error(), string.Format(SR.
Win32SetThreadsDpiHostingBehaviorFailed
, behavior));
79
throw new Win32Exception(Marshal.GetLastWin32Error(), string.Format(SR.
Win32SetThreadsDpiHostingBehaviorFailed
, _originalDpiHostingBehavior));