Table of Contents

Class CloseDesktopSafeHandle

Namespace
Windows.Win32
Assembly
Ecng.Interop.dll

Represents a Win32 handle that can be closed with CloseDesktop(HDESK).

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

Constructors

CloseDesktopSafeHandle()

public CloseDesktopSafeHandle()

CloseDesktopSafeHandle(IntPtr, bool)

public CloseDesktopSafeHandle(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