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