Export (0) Print
Expand All
Expand Minimize

KeFlushQueuedDpcs routine

The KeFlushQueuedDpcs routine returns after all queued DPCs on all processors have executed.

Syntax


VOID KeFlushQueuedDpcs(void);

Parameters

This routine has no parameters.

Return value

None

Remarks

Drivers can use this routine to wait until all currently-queued DPCs are run. Note that KeFlushQueuedDpcs can take a long time to return, so drivers should not use it along any critical code paths.

Requirements

Version

Available starting with Windows XP with SP2 and Windows Server 2003.

Header

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

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

HwStorPortProhibitedDDIs

See also

IoInitializeDpcRequest
IoRequestDpc
KeInitializeDpc
KeInsertQueueDpc

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft