3 instantiations of HDESK
System.Windows.Forms.Primitives (3)
Windows.Win32.HDESK.g.cs (3)
41 public static explicit operator HDESK(void* value) => new HDESK(value); 57 public static explicit operator HDESK(IntPtr value) => new HDESK((void*)value.ToPointer()); 59 public static explicit operator HDESK(UIntPtr value) => new HDESK((void*)value.ToPointer());
19 references to HDESK
System.Windows.Forms (1)
System\Windows\Forms\SystemInformation.cs (1)
802HDESK desktop = PInvoke.OpenInputDesktop(0, false, DESKTOP_ACCESS_FLAGS.DESKTOP_SWITCHDESKTOP);
System.Windows.Forms.Primitives (18)
Windows.Win32.HDESK.g.cs (13)
25 : IEquatable<HDESK> 35 internal static HDESK Null => default; 39 public static implicit operator void*(HDESK value) => value.Value; 41 public static explicit operator HDESK(void* value) => new HDESK(value); 43 public static bool operator ==(HDESK left, HDESK right) => left.Value == right.Value; 45 public static bool operator !=(HDESK left, HDESK right) => !(left == right); 47 public bool Equals(HDESK other) => this.Value == other.Value; 49 public override bool Equals(object obj) => obj is HDESK other && this.Equals(other); 55 public static implicit operator IntPtr(HDESK value) => new IntPtr(value.Value); 57 public static explicit operator HDESK(IntPtr value) => new HDESK((void*)value.ToPointer()); 59 public static explicit operator HDESK(UIntPtr value) => new HDESK((void*)value.ToPointer());
Windows.Win32.PInvoke.USER32.dll.g.cs (5)
335 internal static winmdroot.Foundation.BOOL CloseDesktop(winmdroot.System.StationsAndDesktops.HDESK hDesktop) 343 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.System.StationsAndDesktops.HDESK hDesktop); 2527 internal static winmdroot.System.StationsAndDesktops.HDESK OpenInputDesktop(winmdroot.System.StationsAndDesktops.DESKTOP_CONTROL_FLAGS dwFlags, winmdroot.Foundation.BOOL fInherit, winmdroot.System.StationsAndDesktops.DESKTOP_ACCESS_FLAGS dwDesiredAccess) 2530 winmdroot.System.StationsAndDesktops.HDESK __retVal = LocalExternFunction(dwFlags, fInherit, dwDesiredAccess); 2535 static extern winmdroot.System.StationsAndDesktops.HDESK LocalExternFunction(winmdroot.System.StationsAndDesktops.DESKTOP_CONTROL_FLAGS dwFlags, winmdroot.Foundation.BOOL fInherit, winmdroot.System.StationsAndDesktops.DESKTOP_ACCESS_FLAGS dwDesiredAccess);