CloseWindow (user32)
Last changed: -172.194.121.210

.
Summary

C# Signature:

    [return: MarshalAs(UnmanagedType.Bool)]
    [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
    [DllImport("user32", CharSet = CharSet.Unicode, SetLastError = true)]
    public static extern bool CloseWindowStation(IntPtr hWinsta);

User-Defined Types:

None.

Notes:

See user32.OpenWindowStation and user32.GetProcessWindowStation

Tips & Tricks:

Please add some!

Sample Code:

Please add some!.

Alternative Managed API:

Do you know one? Please contribute it!

Documentation: