13 references to UnsafeNativeMethods
WindowsFormsIntegration (13)
MS\Win32\DCSafeHandle.cs (1)
15
return
UnsafeNativeMethods
.DeleteDC(handle);
System\Windows\Integration\ApplicationInterop.cs (2)
133
UnsafeNativeMethods
.TranslateMessage(ref msg);
134
UnsafeNativeMethods
.DispatchMessage(ref msg);
System\Windows\Integration\ElementHost.cs (3)
225
IntPtr focusHandle =
UnsafeNativeMethods
.GetFocus();
611
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam);
762
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam);
System\Windows\Integration\HostUtils.cs (2)
380
using (DCSafeHandle screenDC =
UnsafeNativeMethods
.CreateDC(DISPLAY))
383
UnsafeNativeMethods
.GetDeviceCaps(screenDC, nIndex);
System\Windows\Integration\WindowsFormsHost.cs (5)
501
UnsafeNativeMethods
.SetParent(/* child = */ HostContainerInternal.Handle, /* parent = */ _hwndParent.Handle);
768
IntPtr focusHwnd =
UnsafeNativeMethods
.GetFocus();
777
UnsafeNativeMethods
.IsChild(Handle, _prevFocusHwnd) &&
778
!
UnsafeNativeMethods
.IsChild(Handle, focusHwnd))
991
if (
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle),