PVIDEO_HW_TIMER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

PVIDEO_HW_TIMER PvideoHwTimer;

VOID PvideoHwTimer(
  PVOID HwDeviceExtension
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-video-pvideo_hw_timer)

PVIDEO_HW_TIMER callback function

Description

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

Parameters

HwDeviceExtension

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

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.

See also

VideoPortStartTimer

VideoPortStopTimer