DrvDisableDriver function (winddi.h)

The DrvDisableDriver function is used by GDI to notify a driver that it no longer requires the driver and is ready to unload it.

Syntax

void DrvDisableDriver();

Return value

None

Remarks

The driver should free all allocated resources and return the device to the state it was in before the driver was loaded.

DrvDisableDriver is required for graphics drivers.

Requirements

Requirement Value
Target Platform Desktop
Header winddi.h (include Winddi.h)

See also

DrvEnableDriver