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