VideoPortQueueDpc function (video.h)

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

Syntax

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

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] CallbackRoutine

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

[in] 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

Requirement Value
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