WdfWmiProviderGetDevice - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfwmi.h

WDFDEVICE WdfWmiProviderGetDevice(
  [in] WDFWMIPROVIDER WmiProvider
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfwmi-wdfwmiprovidergetdevice)

WdfWmiProviderGetDevice function

Description

[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.

Parameters

WmiProvider [in]

A handle to a WMI provider object that the driver obtained by calling WdfWmiProviderCreate or WdfWmiInstanceGetProvider.

Return value

WdfWmiProviderGetDevice returns a handle to a framework device object.

A bug check occurs if the driver supplies an invalid object handle.

See also

WdfWmiInstanceGetProvider

WdfWmiProviderCreate