// video.h
VIDEOPORT_API BOOLEAN VideoPortQueueDpc(
[in] IN PVOID HwDeviceExtension,
[in] IN PMINIPORT_DPC_ROUTINE CallbackRoutine,
[in] IN PVOID Context
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortQueueDpc function allows a miniport driver to queue a DPC.
HwDeviceExtension [in]Pointer to the miniport driver's device extension.
CallbackRoutine [in]Pointer to the miniport driver's HwVidDpcRoutine to be called when the DPC is scheduled. The callback routine must be nonpaged.
Context [in]Pointer to the miniport driver-supplied context that will be passed to CallbackRoutine.
VideoPortQueueDpc returns TRUE if the DPC is successfully queued, and FALSE otherwise.
The deferred procedure is run when the IRQL on the current processor drops below DISPATCH_LEVEL. Callers of VideoPortQueueDpc must be running at IRQL >= DISPATCH_LEVEL.