5 implementations of Wrapper
System.Private.Windows.Core (5)
Windows\Win32\Foundation\HandleRef.cs (1)
25public required object? Wrapper { get; init; }
Windows\Win32\Foundation\HWND.cs (1)
9object? IHandle<HWND>.Wrapper => null;
Windows\Win32\Graphics\Gdi\HDC.cs (1)
9object? IHandle<HDC>.Wrapper => null;
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (1)
9object? IHandle<HCURSOR>.Wrapper => null;
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (1)
9object? IHandle<HICON>.Wrapper => null;
114 references to Wrapper
System.Drawing.Common (5)
Windows\Win32\PInvoke.AbortDoc.cs (1)
12GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.EndDoc.cs (1)
12GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.EndPage.cs (1)
12GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.StartDoc.cs (1)
14GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.StartPage.cs (1)
12GC.KeepAlive(hdc.Wrapper);
System.Private.Windows.Core (28)
Windows\Win32\PInvokeCore.BitBlt.cs (2)
30GC.KeepAlive(hdc.Wrapper); 56GC.KeepAlive(hdcSrc.Wrapper);
Windows\Win32\PInvokeCore.CallWindowProc.cs (1)
18GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.CopyImage.cs (2)
13GC.KeepAlive(hImage.Wrapper); 22GC.KeepAlive(hImage.Wrapper);
Windows\Win32\PInvokeCore.DragAcceptFiles.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.DrawIcon.cs (1)
16GC.KeepAlive(hIcon.Wrapper);
Windows\Win32\PInvokeCore.DrawIconEx.cs (1)
26GC.KeepAlive(hIcon.Wrapper);
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
27GC.KeepAlive(hwndParent.Wrapper);
Windows\Win32\PInvokeCore.GetClientRect.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.GetIconInfo.cs (1)
13GC.KeepAlive(icon.Wrapper);
Windows\Win32\PInvokeCore.GetWindowLong.cs (1)
33GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.GetWindowRect.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.GetWindowText.cs (1)
65GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.GetWindowTextLength.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.GetWindowThreadProcessId.cs (1)
15GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.MapWindowPoints.cs (4)
18GC.KeepAlive(hWndFrom.Wrapper); 19GC.KeepAlive(hWndTo.Wrapper); 32GC.KeepAlive(hWndFrom.Wrapper); 33GC.KeepAlive(hWndTo.Wrapper);
Windows\Win32\PInvokeCore.PeekMessage.cs (1)
18GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.PostMessage.cs (1)
17GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvokeCore.RegisterDragDrop.cs (1)
22GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvokeCore.RevokeDragDrop.cs (1)
12GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvokeCore.SendMessage.cs (2)
16GC.KeepAlive(hWnd.Wrapper); 28GC.KeepAlive(wParam.Wrapper);
Windows\Win32\PInvokeCore.SetWindowLong.cs (2)
22GC.KeepAlive(hWnd.Wrapper); 31GC.KeepAlive(newValue.Wrapper);
System.Windows.Forms (1)
System\Windows\Forms\StringSource.cs (1)
53GC.KeepAlive(edit.Wrapper);
System.Windows.Forms.Primitives (80)
Windows\Win32\PInvoke.ChildWindowFromPointEx.cs (1)
15GC.KeepAlive(hwndParent.Wrapper);
Windows\Win32\PInvoke.ClientToScreen.cs (1)
15GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.CloseHandle.cs (1)
12GC.KeepAlive(handle.Wrapper);
Windows\Win32\PInvoke.DestroyAcceleratorTable.cs (1)
13GC.KeepAlive(hAccel.Wrapper);
Windows\Win32\PInvoke.DrawMenuBar.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.EnableMenuItem.cs (1)
13GC.KeepAlive(hMenu.Wrapper);
Windows\Win32\PInvoke.EnableScrollBar.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.EnableWindow.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.EndDialog.cs (1)
13GC.KeepAlive(hDlg.Wrapper);
Windows\Win32\PInvoke.FillRect.cs (1)
13GC.KeepAlive(hDC.Wrapper);
Windows\Win32\PInvoke.GetAncestor.cs (1)
12GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.GetDlgItem.cs (1)
13GC.KeepAlive(hDlg.Wrapper);
Windows\Win32\PInvoke.GetDpiForWindow.cs (1)
14GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.GetMenu.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.GetMenuItemCount.cs (1)
13GC.KeepAlive(hMenu.Wrapper);
Windows\Win32\PInvoke.GetParent.cs (1)
12GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.GetScrollInfo.cs (1)
13GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.GetSystemMenu.cs (1)
12GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.GetTextExtentPoint32.cs (1)
16GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.GetThemeFont.cs (1)
17GC.KeepAlive(hTheme.Wrapper);
Windows\Win32\PInvoke.GetWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.HtmlHelp.cs (3)
15GC.KeepAlive(hwndCaller.Wrapper); 26GC.KeepAlive(hwndCaller.Wrapper); 43GC.KeepAlive(hwndCaller.Wrapper);
Windows\Win32\PInvoke.ImageList.cs (15)
16GC.KeepAlive(himl.Wrapper); 24GC.KeepAlive(himl.Wrapper); 33GC.KeepAlive(himl.Wrapper); 51GC.KeepAlive(himl.Wrapper); 52GC.KeepAlive(hdcDst.Wrapper); 63GC.KeepAlive(himl.Wrapper); 72GC.KeepAlive(himl.Wrapper); 80GC.KeepAlive(himl.Wrapper); 88GC.KeepAlive(himl.Wrapper); 96GC.KeepAlive(himl.Wrapper); 107GC.KeepAlive(himl.Wrapper); 108GC.KeepAlive(hicon.Wrapper); 116GC.KeepAlive(himl.Wrapper); 125GC.KeepAlive(himl.Wrapper); 137GC.KeepAlive(himl.Wrapper);
Windows\Win32\PInvoke.ImmGetContext.cs (1)
14GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.ImmReleaseContext.cs (1)
14GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.IntersectClipRect.cs (1)
12GC.KeepAlive(hdc.Wrapper);
Windows\Win32\PInvoke.InvalidateRect.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.InvalidateRgn.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.IsAccelerator.cs (1)
13GC.KeepAlive(hAccel.Wrapper);
Windows\Win32\PInvoke.IsChild.cs (2)
14GC.KeepAlive(hWndParent.Wrapper); 15GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.IsWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.IsWindowEnabled.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.IsWindowVisible.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.KillTimer.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.NotifyWinEvent.cs (1)
13GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.RedrawWindow.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.ScreenToClient.cs (1)
15GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.ScrollWindow.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.ScrollWindowEx.cs (1)
20GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SendMessageCallback.cs (1)
21GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetActiveWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetCapture.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetFocus.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetForegroundWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetLayeredWindowAttributes.cs (1)
13GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.SetMenu.cs (3)
13GC.KeepAlive(hWnd.Wrapper); 23GC.KeepAlive(hWnd.Wrapper); 24GC.KeepAlive(hMenu.Wrapper);
Windows\Win32\PInvoke.SetParent.cs (2)
14GC.KeepAlive(hWndChild.Wrapper); 15GC.KeepAlive(hWndNewParent.Wrapper);
Windows\Win32\PInvoke.SetScrollInfo.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetScrollPos.cs (1)
13GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetTimer.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SetWindowPos.cs (2)
14GC.KeepAlive(hWnd.Wrapper); 15GC.KeepAlive(hWndInsertAfter.Wrapper);
Windows\Win32\PInvoke.SetWindowRgn.cs (1)
13GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.SetWindowText.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.SHAutoComplete.cs (1)
12GC.KeepAlive(hwndEdit.Wrapper);
Windows\Win32\PInvoke.ShowWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.UiaHostProviderFromHwnd.cs (1)
15GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.UiaReturnRawElementProvider.cs (1)
20GC.KeepAlive(hwnd.Wrapper);
Windows\Win32\PInvoke.UpdateWindow.cs (1)
12GC.KeepAlive(hWnd.Wrapper);
Windows\Win32\PInvoke.ValidateRect.cs (1)
13GC.KeepAlive(hWnd.Wrapper);