WdfWmiInstanceGetDevice - NtDoc

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

WDFDEVICE WdfWmiInstanceGetDevice(
  [in] WDFWMIINSTANCE WmiInstance
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WdfWmiInstanceGetDevice function

Description

[Applies to KMDF only]

The WdfWmiInstanceGetDevice method returns a handle to the framework device object that is associated with 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

WdfWmiInstanceGetDevice returns a handle to a framework device object.

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

See also

WdfWmiInstanceCreate