13 references to UnsafeNativeMethods
WindowsFormsIntegration (13)
MS\Win32\DCSafeHandle.cs (1)
14return UnsafeNativeMethods.DeleteDC(handle);
System\Windows\Integration\ApplicationInterop.cs (2)
132UnsafeNativeMethods.TranslateMessage(ref msg); 133UnsafeNativeMethods.DispatchMessage(ref msg);
System\Windows\Integration\ElementHost.cs (3)
223IntPtr focusHandle = UnsafeNativeMethods.GetFocus(); 610UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam); 761UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle), msg, wParam, lParam);
System\Windows\Integration\HostUtils.cs (2)
379using (DCSafeHandle screenDC = UnsafeNativeMethods.CreateDC(DISPLAY)) 382UnsafeNativeMethods.GetDeviceCaps(screenDC, nIndex);
System\Windows\Integration\WindowsFormsHost.cs (5)
491UnsafeNativeMethods.SetParent(/* child = */ HostContainerInternal.Handle, /* parent = */ _hwndParent.Handle); 746IntPtr focusHwnd = UnsafeNativeMethods.GetFocus(); 755UnsafeNativeMethods.IsChild(Handle, _prevFocusHwnd) && 756!UnsafeNativeMethods.IsChild(Handle, focusHwnd)) 969if (UnsafeNativeMethods.SendMessage(new HandleRef(this, this.Handle),