WdfDeviceGetDriver - NtDoc

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

WDFDRIVER WdfDeviceGetDriver(
  [in] WDFDEVICE Device
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdevicegetdriver)

WdfDeviceGetDriver function

Description

[Applies to KMDF and UMDF]

The WdfDeviceGetDriver method returns a handle to the framework driver object that is associated with a specified framework device object.

Parameters

Device [in]

A handle to a framework device object.

Return value

WdfDeviceGetDriver returns a handle to a framework driver object.

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

See also

WdfDriverGetRegistryPath