Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WdfGetDriver function (wdfdriver.h)

[Applies to KMDF and UMDF]

The WdfGetDriver method returns a handle to the framework driver object that represents the calling driver.

Syntax

WDFDRIVER WdfGetDriver();

Return value

WdfGetDriver returns a handle to a framework driver object, or NULL if the driver has not called WdfDriverCreate.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfdriver.h (include Wdf.h)
Library Wdf01000.sys (KMDF); WUDFx02000.dll (UMDF)
IRQL Any level

See also

WdfDriverCreate


Feedback

Was this page helpful?

Additional resources