Class GhostPadPrivateOwnedHandle
public class GhostPadPrivateOwnedHandle : GhostPadPrivateHandle, IDisposable
- Inheritance
-
GhostPadPrivateOwnedHandle
- Implements
- Inherited Members
Constructors
GhostPadPrivateOwnedHandle(IntPtr)
Creates a new instance of GhostPadPrivateOwnedHandle. Assumes that the given pointer is owned by the runtime.
public GhostPadPrivateOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a GhostPadPrivateOwnedHandle from a pointer that is assumed unowned.
public static GhostPadPrivateOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a GhostPadPrivate which is not owned by the runtime.
Returns
- GhostPadPrivateOwnedHandle
A GhostPadPrivateOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()