Class SafeCurrentInputDesktopHandle
A SafeHandle class implementation for the current input desktop
Inheritance
System.Object
SafeCurrentInputDesktopHandle
Namespace: Dapplo.Windows.User32.SafeHandles
Assembly: Dapplo.Windows.User32.dll
Syntax
public class SafeCurrentInputDesktopHandle : SafeHandleZeroOrMinusOneIsInvalid
Constructors
| Improve this Doc View SourceSafeCurrentInputDesktopHandle()
Default constructor, this opens the input destop with GENERIC_ALL This is needed to support marshalling!!
Declaration
public SafeCurrentInputDesktopHandle()
Methods
| Improve this Doc View SourceReleaseHandle()
Close the desktop
Declaration
protected override bool ReleaseHandle()
Returns
Type | Description |
---|---|
System.Boolean | true if this succeeded |