13 references to UnsafeNativeMethods
WindowsFormsIntegration (13)
MS\Win32\DCSafeHandle.cs (1)
17
return
UnsafeNativeMethods
.DeleteDC(handle);
System\Windows\Integration\ApplicationInterop.cs (2)
135
UnsafeNativeMethods
.TranslateMessage(ref msg);
136
UnsafeNativeMethods
.DispatchMessage(ref msg);
System\Windows\Integration\ElementHost.cs (3)
228
IntPtr focusHandle =
UnsafeNativeMethods
.GetFocus();
614
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam);
765
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam);
System\Windows\Integration\HostUtils.cs (2)
384
using (DCSafeHandle screenDC =
UnsafeNativeMethods
.CreateDC(DISPLAY))
387
UnsafeNativeMethods
.GetDeviceCaps(screenDC, nIndex);
System\Windows\Integration\WindowsFormsHost.cs (5)
503
UnsafeNativeMethods
.SetParent(/* child = */ HostContainerInternal.Handle, /* parent = */ _hwndParent.Handle);
770
IntPtr focusHwnd =
UnsafeNativeMethods
.GetFocus();
779
UnsafeNativeMethods
.IsChild(Handle, _prevFocusHwnd) &&
780
!
UnsafeNativeMethods
.IsChild(Handle, focusHwnd))
993
if (
UnsafeNativeMethods
.SendMessage(new HandleRef(this, this.Handle),