KeInitializeThreadedDpc function

The KeInitializeThreadedDpc routine initializes a threaded DPC object, and registers a CustomThreadedDpc routine for that object.

Syntax

NTKERNELAPI VOID KeInitializeThreadedDpc(
  PRKDPC             Dpc,
  PKDEFERRED_ROUTINE DeferredRoutine,
  PVOID              DeferredContext
);

Parameters

Dpc

Pointer to a KDPC structure that represents the DPC object to initialize. The caller must allocate storage for the structure from resident memory.

DeferredRoutine

Pointer to the CustomThreadedDpc routine to associate with the DPC.

DeferredContext

Specifies the value to pass as the DeferredContext parameter to CustomThreadedDpc.

Return Value

None

Remarks

For more information about threaded DPCs, see Threaded DPCs.

Requirements

   
Windows version Available in Windows Vista and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See Also

CustomThreadedDpc

KeInsertQueueDpc

KeRemoveQueueDpc