6 implementations of Handle
System.Private.Windows.Core (6)
Windows\Win32\Foundation\HWND.cs (1)
8
HWND IHandle<HWND>.
Handle
=> this;
Windows\Win32\Foundation\NullHandle.cs (1)
12
public T
Handle
=> default;
Windows\Win32\Graphics\Gdi\HDC.cs (1)
8
HDC IHandle<HDC>.
Handle
=> this;
Windows\Win32\Graphics\Gdi\HdcHandle.cs (1)
24
public HDC
Handle
{ get; private set; }
Windows\Win32\UI\WindowsAndMessaging\HCURSOR.cs (1)
8
HCURSOR IHandle<HCURSOR>.
Handle
=> this;
Windows\Win32\UI\WindowsAndMessaging\HICON.cs (1)
8
HICON IHandle<HICON>.
Handle
=> this;
31 references to Handle
System.Private.Windows.Core (31)
Windows\Win32\Foundation\HandleRef.cs (1)
39
Handle = handle?.
Handle
?? default;
Windows\Win32\Foundation\IHandle.cs (1)
38
/// Owner of the <see cref="
Handle
"/> that might close it when finalized. Default is the
Windows\Win32\PInvoke.CallWindowProc.cs (1)
13
hWnd.
Handle
,
Windows\Win32\PInvoke.GetWindowRect.cs (1)
11
BOOL result = GetWindowRect(hWnd.
Handle
, out lpRect);
Windows\Win32\PInvoke.GetWindowText.cs (2)
24
int newTextLength = GetWindowTextLength(hWnd.
Handle
);
46
int actualTextLength = GetWindowText(hWnd.
Handle
, b, buffer.Length);
Windows\Win32\PInvoke.GetWindowTextLength.cs (1)
11
int result = GetWindowTextLength(hWnd.
Handle
);
Windows\Win32\PInvoke.MapWindowPoints.cs (4)
17
int result = MapWindowPoints(hWndFrom.
Handle
, hWndTo.
Handle
, (Point*)p, cPoints: 2);
31
int result = MapWindowPoints(hWndFrom.
Handle
, hWndTo.
Handle
, (Point*)p, cPoints: 1);
Windows\Win32\PInvokeCore.BitBlt.cs (2)
21
hdc.
Handle
,
52
hdcSrc.
Handle
,
Windows\Win32\PInvokeCore.CopyImage.cs (2)
12
HICON result = (HICON)CopyImage(hImage.
Handle
, GDI_IMAGE_TYPE.IMAGE_ICON, cx, cy, flags);
21
HCURSOR result = (HCURSOR)CopyImage(hImage.
Handle
, GDI_IMAGE_TYPE.IMAGE_CURSOR, cx, cy, flags);
Windows\Win32\PInvokeCore.DrawIconEx.cs (1)
25
BOOL result = DrawIconEx(hDC, xLeft, yTop, hIcon.
Handle
, cxWidth, cyWidth, 0, HBRUSH.Null, diFlags);
Windows\Win32\PInvokeCore.EnumChildWindows.cs (1)
22
return EnumChildWindows(hwndParent.
Handle
, &EnumChildWindowsNativeCallback, (LPARAM)(nint)gcHandle);
Windows\Win32\PInvokeCore.GetClientRect.cs (1)
12
BOOL result = GetClientRect(hWnd.
Handle
, out lpRect);
Windows\Win32\PInvokeCore.GetIconInfo.cs (1)
12
GetIconInfo(icon.
Handle
, out ICONINFO info);
Windows\Win32\PInvokeCore.GetWindowLong.cs (2)
31
? GetWindowLongPtrW(hWnd.
Handle
, nIndex)
32
: GetWindowLongW(hWnd.
Handle
, nIndex);
Windows\Win32\PInvokeCore.PeekMessage.cs (1)
17
BOOL result = PeekMessage(lpMsg, hWnd.
Handle
, wMsgFilterMin, wMsgFilterMax, wRemoveMsg);
Windows\Win32\PInvokeCore.PostMessage.cs (1)
16
BOOL result = PostMessage(hWnd.
Handle
, (uint)Msg, wParam, lParam);
Windows\Win32\PInvokeCore.SendMessage.cs (3)
15
LRESULT result = SendMessage(hWnd.
Handle
, (uint)Msg, wParam, lParam);
27
LRESULT result = SendMessage(hWnd.
Handle
, (uint)Msg, (WPARAM)wParam.
Handle
, lParam);
Windows\Win32\PInvokeCore.SetWindowLong.cs (3)
20
? SetWindowLongPtrW(hWnd.
Handle
, nIndex, newValue)
21
: SetWindowLongW(hWnd.
Handle
, nIndex, (int)newValue);
30
nint result = SetWindowLong(hWnd, nIndex, (nint)newValue.
Handle
);
Windows\Win32\System\Ole\PICTDESC.cs (2)
33
(HANDLE)icon.
Handle
,
38
: icon.
Handle
;