3 instantiations of HWINSTA
System.Windows.Forms.Primitives (3)
Windows.Win32.HWINSTA.g.cs (3)
41
public static explicit operator HWINSTA(void* value) => new
HWINSTA
(value);
57
public static explicit operator HWINSTA(IntPtr value) => new
HWINSTA
((void*)value.ToPointer());
59
public static explicit operator HWINSTA(UIntPtr value) => new
HWINSTA
((void*)value.ToPointer());
20 references to HWINSTA
System.Windows.Forms (2)
System\Windows\Forms\SystemInformation.cs (2)
24
private static
HWINSTA
s_processWinStation;
494
HWINSTA
hwinsta = PInvoke.GetProcessWindowStation();
System.Windows.Forms.Primitives (18)
Windows.Win32.HWINSTA.g.cs (13)
25
: IEquatable<
HWINSTA
>
35
internal static
HWINSTA
Null => default;
39
public static implicit operator void*(
HWINSTA
value) => value.Value;
41
public static explicit operator
HWINSTA
(void* value) => new HWINSTA(value);
43
public static bool operator ==(
HWINSTA
left,
HWINSTA
right) => left.Value == right.Value;
45
public static bool operator !=(
HWINSTA
left,
HWINSTA
right) => !(left == right);
47
public bool Equals(
HWINSTA
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HWINSTA
other && this.Equals(other);
55
public static implicit operator IntPtr(
HWINSTA
value) => new IntPtr(value.Value);
57
public static explicit operator
HWINSTA
(IntPtr value) => new HWINSTA((void*)value.ToPointer());
59
public static explicit operator
HWINSTA
(UIntPtr value) => new HWINSTA((void*)value.ToPointer());
Windows.Win32.PInvoke.USER32.dll.g.cs (5)
1759
internal static winmdroot.Foundation.BOOL CloseWindowStation(winmdroot.System.StationsAndDesktops.
HWINSTA
hWinSta)
1767
static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.System.StationsAndDesktops.
HWINSTA
hWinSta);
1779
internal static winmdroot.System.StationsAndDesktops.
HWINSTA
GetProcessWindowStation()
1782
winmdroot.System.StationsAndDesktops.
HWINSTA
__retVal = LocalExternFunction();
1787
static extern winmdroot.System.StationsAndDesktops.
HWINSTA
LocalExternFunction();