HwVidDpcRoutine routine

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

Syntax


PMINIPORT_DPC_ROUTINE HwVidDpcRoutine;

VOID HwVidDpcRoutine(
  _In_ PVOID HwDeviceExtension,
  _In_ PVOID Context
)
{ ... }

Parameters

HwDeviceExtension [in]

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

Context [in]

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

Header

Video.h (include Video.h)

See also

VideoPortQueueDpc

 

 

Send comments about this topic to Microsoft

Show: