Table of Contents

Class CloseWindowStationSafeHandle

Namespace
Windows.Win32
Assembly
Ecng.Interop.dll

Represents a Win32 handle that can be closed with CloseWindowStation(HWINSTA).

public class CloseWindowStationSafeHandle : SafeHandle, IDisposable
Inheritance
CloseWindowStationSafeHandle
Implements
Inherited Members
Extension Methods

Constructors

CloseWindowStationSafeHandle()

public CloseWindowStationSafeHandle()

CloseWindowStationSafeHandle(IntPtr, bool)

public CloseWindowStationSafeHandle(IntPtr preexistingHandle, bool ownsHandle = true)

Parameters

preexistingHandle IntPtr
ownsHandle bool

Properties

IsInvalid

public override bool IsInvalid { get; }

Property Value

bool

Methods

ReleaseHandle()

protected override bool ReleaseHandle()

Returns

bool