WdfWmiInstanceGetProvider - NtDoc

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

WDFWMIPROVIDER WdfWmiInstanceGetProvider(
  [in] WDFWMIINSTANCE WmiInstance
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WdfWmiInstanceGetProvider function

Description

[Applies to KMDF only]

The WdfWmiInstanceGetProvider method returns a handle to the WMI provider object that is the parent object of a specified WMI instance object.

Parameters

WmiInstance [in]

A handle to a WMI instance object that the driver obtained from a previous call to WdfWmiInstanceCreate.

Return value

WdfWmiInstanceGetProvider returns a handle to a WMI provider object.

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

See also

WdfWmiInstanceCreate