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