Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IoFreeController
Collapse the table of content
Expand the table of content

IoFreeController routine

The IoFreeController routine releases a previously allocated controller object when the driver has completed an I/O request.

Syntax


VOID IoFreeController(
  _In_ PCONTROLLER_OBJECT ControllerObject
);

Parameters

ControllerObject [in]

Pointer to the driver's controller object, which was allocated for the current I/O operation on a particular device by calling IoAllocateController.

Return value

None

Remarks

The connection between the current target device object and the controller object is released only if no requests are currently queued to the same device. Otherwise, the driver's ControllerControl routine is called with the next IRP bound through the device controller to the target device.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

DISPATCH_LEVEL

DDI compliance rules

IrqlDispatch, HwStorPortProhibitedDDIs, IrqlDispatch(storport)

See also

IoAllocateController
IoCreateController
IoDeleteController

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft