// wdm.h
VOID KeInitializeThreadedDpc(
[out] PRKDPC Dpc,
[in] PKDEFERRED_ROUTINE DeferredRoutine,
[in, optional] PVOID DeferredContext
);
View the official Windows Driver Kit DDI referenceNo description available.
The KeInitializeThreadedDpc routine initializes a threaded DPC object, and registers a CustomThreadedDpc routine for that object.
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.
For more information about threaded DPCs, see Introduction to Threaded DPCs.