Expand Minimize

IoSetStartIoAttributes routine

The IoSetStartIoAttributes routine sets attributes for the driver's StartIo routine.

Syntax


VOID IoSetStartIoAttributes(
  _In_  PDEVICE_OBJECT DeviceObject,
  _In_  BOOLEAN DeferredStartIo,
  _In_  BOOLEAN NonCancelable
);

Parameters

DeviceObject [in]

Pointer to the device object for the driver's device.

DeferredStartIo [in]

If TRUE, the I/O manager will defer any call to the driver's StartIo routine while the driver is already inside the routine. In particular, if the StartIo routine calls IoStartNextPacket, the StartIo routine will not be called again until the current invocation completes. The default is FALSE.

NonCancelable [in]

If TRUE, the IRP cannot be canceled once it has been dequeued by a call to IoStartNextPacket. The default is FALSE. Drivers that set this member to FALSE must synchronize their IRP handling with the cancel spin lock.

Return value

None

Requirements

Version

Available for Microsoft Windows XP and later versions of the Windows operating system.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

DDI compliance rules

StartIoCancel, StartIoRecursion, HwStorPortProhibitedDDIs

See also

StartIo
IoStartNextPacket

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft