Class SafeDcHandle
Base class for all Safe "DC" Handles
Inheritance
System.Object
SafeDcHandle
Namespace: Dapplo.Windows.Gdi32.SafeHandles
Assembly: Dapplo.Windows.Gdi32.dll
Syntax
public abstract class SafeDcHandle : SafeHandleZeroOrMinusOneIsInvalid
Constructors
| Improve this Doc View SourceSafeDcHandle(Boolean)
Constructor which passes the SafeHandleZeroOrMinusOneIsInvalid to the base
Declaration
protected SafeDcHandle(bool ownsHandle)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ownsHandle | true to reliably release the handle during the finalization phase; false to prevent reliable release (not recommended). |