The WdfGetDriver method returns a handle to the framework driver object that represents the calling driver.
WdfGetDriver returns a handle to a framework driver object if the operation succeeds, or NULL if the driver has not called WdfDriverCreate.
The following code example obtains a handle to the calling driver's framework driver object and uses the handle as input to WdfDriverMiniportUnload.
|Available in version 1.0 and later versions of KMDF.|
|Wdf<MajorVersionNumber>000.sys (see Framework Library Versions.)|