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