Expand Minimize

KeInitializeThreadedDpc routine

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

Syntax


VOID KeInitializeThreadedDpc(
  _Out_     PRKDPC Dpc,
  _In_      PKDEFERRED_ROUTINE DeferredRoutine,
  _In_opt_  PVOID DeferredContext
);

Parameters

Dpc [out]

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

DeferredRoutine [in]

Pointer to the CustomThreadedDpc routine to associate with the DPC.

DeferredContext [in, optional]

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

Version

Available in Windows Vista and later versions of Windows.

Header

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

Library

Ntoskrnl.lib

IRQL

Any level

See also

CustomThreadedDpc
KeInsertQueueDpc
KeRemoveQueueDpc

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft