PVIDEO_HW_TIMER callback function

HwVidTimer is a video miniport driver routine called at timed intervals by the video port driver.

Syntax


PVIDEO_HW_TIMER HwVidTimer;

VOID HwVidTimer(
   PVOID HwDeviceExtension
)
{ ... }

Parameters

HwDeviceExtension

Pointer to the miniport driver's per-adapter storage area. For more information, see Device Extensions.

Return value

None

Remarks

HwVidTimer is an optional miniport driver function to which calls are enabled with VideoPortStartTimer and disabled with VideoPortStopTimer.

Any miniport driver can have a HwVidTimer function. For example, a HwVidTimer function could be used to read the state of the "VGA" registers on a high-end video adapter so that the miniport driver can emulate VGA-compatible behavior.

After a call to VideoPortStartTimer, the video port driver calls a miniport driver's HwVidTimer function at approximately one-second intervals until the miniport driver calls VideoPortStopTimer.

Note that the HwVidTimer function must not disable the timer with a call to VideoPortStopTimer.

HwVidTimer must not be made pageable.

Requirements

Target platform

Desktop

Header

Video.h (include Video.h)

See also

VideoPortStartTimer
VideoPortStopTimer

 

 

Send comments about this topic to Microsoft

Show: