PMINIPORT_DPC_ROUTINE callback function

The HwVidDpcRoutine function is a miniport driver-implemented callback that is called when a queued DPC gets scheduled.

Syntax

PMINIPORT_DPC_ROUTINE PminiportDpcRoutine;

void PminiportDpcRoutine(
  IN PVOID HwDeviceExtension,
  IN PVOID Context
)
{...}

Parameters

HwDeviceExtension

Pointer to the miniport driver's hardware device extension. For more information, see Device Extensions.

Context

Contains any miniport driver-supplied data this function may need. Context can be NULL if the DPC implementation does not require additional information.

Return Value

None

Remarks

The miniport driver queues this DPC by calling VideoPortQueueDpc.

Because HwVidDpcRoutine is called at DISPATCH_LEVEL, it must not manipulate any pageable code or data. Further, this function must be in nonpaged memory and should complete its operations as quickly as possible.

Requirements

   
Target Platform Desktop
Header video.h (include Video.h)

See Also

VideoPortQueueDpc