// wdfwmi.h
WDFDEVICE WdfWmiProviderGetDevice(
[in] WDFWMIPROVIDER WmiProvider
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF only]
The WdfWmiProviderGetDevice method returns a handle to the framework device object that is the parent of a specified WMI provider object.
WmiProvider
[in]A handle to a WMI provider object that the driver obtained by calling WdfWmiProviderCreate or WdfWmiInstanceGetProvider.
WdfWmiProviderGetDevice returns a handle to a framework device object.
A bug check occurs if the driver supplies an invalid object handle.