Bewerken

Delen via


PMINIPORT_DPC_ROUTINE callback function (video.h)

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] IN PVOID HwDeviceExtension,
  [in] IN PVOID Context
)
{...}

Parameters

[in] HwDeviceExtension

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

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

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

See also

VideoPortQueueDpc