3 instantiations of HMONITOR
Microsoft.Private.Windows.Core (3)
Windows.Win32.HMONITOR.g.cs (3)
41 public static explicit operator HMONITOR(void* value) => new HMONITOR(value); 57 public static explicit operator HMONITOR(IntPtr value) => new HMONITOR((void*)value.ToPointer()); 59 public static explicit operator HMONITOR(UIntPtr value) => new HMONITOR((void*)value.ToPointer());
28 references to HMONITOR
Microsoft.Private.Windows.Core (28)
Windows.Win32.HMONITOR.g.cs (13)
25 : IEquatable<HMONITOR> 35 internal static HMONITOR Null => default; 39 public static implicit operator void*(HMONITOR value) => value.Value; 41 public static explicit operator HMONITOR(void* value) => new HMONITOR(value); 43 public static bool operator ==(HMONITOR left, HMONITOR right) => left.Value == right.Value; 45 public static bool operator !=(HMONITOR left, HMONITOR right) => !(left == right); 47 public bool Equals(HMONITOR other) => this.Value == other.Value; 49 public override bool Equals(object obj) => obj is HMONITOR other && this.Equals(other); 55 public static implicit operator IntPtr(HMONITOR value) => new IntPtr(value.Value); 57 public static explicit operator HMONITOR(IntPtr value) => new HMONITOR((void*)value.ToPointer()); 59 public static explicit operator HMONITOR(UIntPtr value) => new HMONITOR((void*)value.ToPointer());
Windows.Win32.PInvokeCore.USER32.dll.g.cs (10)
252 internal static unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, winmdroot.Foundation.RECT? lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData) 280 internal static extern unsafe winmdroot.Foundation.BOOL EnumDisplayMonitors(winmdroot.Graphics.Gdi.HDC hdc, [Optional] winmdroot.Foundation.RECT* lprcClip, delegate *unmanaged[Stdcall]<global::Windows.Win32.Graphics.Gdi.HMONITOR,global::Windows.Win32.Graphics.Gdi.HDC,global::Windows.Win32.Foundation.RECT*,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.BOOL> lpfnEnum, winmdroot.Foundation.LPARAM dwData); 472 /// <inheritdoc cref="GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR, winmdroot.Graphics.Gdi.MONITORINFO*)"/> 474 internal static unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, ref winmdroot.Graphics.Gdi.MONITORINFO lpmi) 498 internal static extern unsafe winmdroot.Foundation.BOOL GetMonitorInfo(winmdroot.Graphics.Gdi.HMONITOR hMonitor, winmdroot.Graphics.Gdi.MONITORINFO* lpmi); 719 internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromPoint(global::System.Drawing.Point pt, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags); 723 internal static unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(in winmdroot.Foundation.RECT lprc, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags) 727 winmdroot.Graphics.Gdi.HMONITOR __result = PInvokeCore.MonitorFromRect(lprcLocal, dwFlags); 743 internal static extern unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(winmdroot.Foundation.RECT* lprc, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags); 754 internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromWindow(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.MONITOR_FROM_FLAGS dwFlags);
Windows\Win32\PInvokeCore.EnumDisplayMonitors.cs (5)
8public delegate bool EnumDisplayMonitorsCallback(HMONITOR monitor, HDC hdc); 11private delegate BOOL EnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam); 13private static readonly delegate* unmanaged[Stdcall]<HMONITOR, HDC, RECT*, LPARAM, BOOL> s_enumDisplayMonitorsNativeCallbackFunctionPointer = 14(delegate* unmanaged[Stdcall]<HMONITOR, HDC, RECT*, LPARAM, BOOL>)Marshal.GetFunctionPointerForDelegate(s_enumDisplayMonitorsNativeCallback); 37private static BOOL HandleEnumDisplayMonitorsNativeCallback(HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam)