// wdfwmi.h
WDFDEVICE WdfWmiInstanceGetDevice(
[in] WDFWMIINSTANCE WmiInstance
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF only]
The WdfWmiInstanceGetDevice method returns a handle to the framework device object that is associated with a specified WMI instance object.
WmiInstance
[in]A handle to a WMI instance object that the driver obtained from a previous call to WdfWmiInstanceCreate.
WdfWmiInstanceGetDevice returns a handle to a framework device object.
A bug check occurs if the driver supplies an invalid object handle.