Expand Minimize

VideoPortQueueDpc function

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

Syntax


BOOLEAN VideoPortQueueDpc(
  _In_  PVOID HwDeviceExtension,
  _In_  PMINIPORT_DPC_ROUTINE CallbackRoutine,
  _In_  PVOID Context
);

Parameters

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.

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

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

>= DISPATCH_LEVEL

See also

HwVidDpcRoutine

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft