WdfControlFinishInitializing function (wdfcontrol.h)

[Applies to KMDF only]

The WdfControlFinishInitializing method informs the framework that a driver has finished initializing a specified control device object.

Syntax

void WdfControlFinishInitializing(
  [in] WDFDEVICE Device
);

Parameters

[in] Device

A handle to a control device object.

Return value

None

Remarks

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

The system will not send I/O requests or Windows Management Instrumentation (WMI) requests to a control device object unless the driver has called WdfControlFinishInitializing.

For more information about control device objects and calling WdfControlFinishInitializing, see Using Control Device Objects.

Examples

For a code example that uses WdfControlFinishInitializing, see WdfControlDeviceInitAllocate.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfcontrol.h (include Wdf.h)
Library Wdf01000.sys (see Framework Library Versioning.)
IRQL <= DISPATCH_LEVEL
DDI compliance rules CtlDeviceFinishInitDeviceAdd(kmdf), CtlDeviceFinishInitDrEntry(kmdf), DriverCreate(kmdf), KmdfIrql(kmdf), KmdfIrql2(kmdf), KmdfIrqlExplicit(kmdf)