Class DeviceProviderFactoryClassOwnedHandle
public class DeviceProviderFactoryClassOwnedHandle : DeviceProviderFactoryClassHandle, IDisposable
- Inheritance
-
DeviceProviderFactoryClassOwnedHandle
- Implements
- Inherited Members
Constructors
DeviceProviderFactoryClassOwnedHandle(IntPtr)
Creates a new instance of DeviceProviderFactoryClassOwnedHandle. Assumes that the given pointer is owned by the runtime.
public DeviceProviderFactoryClassOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a DeviceProviderFactoryClassOwnedHandle from a pointer that is assumed unowned.
public static DeviceProviderFactoryClassOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA 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()