WdfGetDriver function

[Applies to KMDF and UMDF]

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

Syntax

WDFDRIVER WdfGetDriver(

);

Parameters

This function has no parameters.

Return Value

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

Requirements

   
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