VideoPortQueueDpc function

The VideoPortQueueDpc function allows a miniport driver to queue a DPC.

Syntax

VIDEOPORT_API BOOLEAN VideoPortQueueDpc(
  IN PVOID                 HwDeviceExtension,
  IN PMINIPORT_DPC_ROUTINE CallbackRoutine,
  IN PVOID                 Context
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

CallbackRoutine

Pointer to the miniport driver's HwVidDpcRoutine to be called when the DPC is scheduled. The callback routine must be nonpaged.

Context

Pointer to the miniport driver-supplied context that will be passed to CallbackRoutine.

Return Value

VideoPortQueueDpc returns TRUE if the DPC is successfully queued, and FALSE otherwise.

Remarks

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.

Requirements

   
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL Greater than or equal to DISPATCH_LEVEL

See Also

HwVidDpcRoutine