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