PVIDEO_READ_CLOCK_LINE callback function (video.h)

ReadClockLine reads a single data bit from the I2C serial clock line.

Syntax

PVIDEO_READ_CLOCK_LINE PvideoReadClockLine;

BOOLEAN PvideoReadClockLine(
  PVOID HwDeviceExtension
)
{...}

Parameters

HwDeviceExtension

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

Return value

ReadClockLine returns 1 if the serial clock line is high and 0 if the serial clock line is low.

Remarks

ReadClockLine should be made pageable.

Requirements

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

See also

HwVidGetVideoChildDescriptor

I2C Functions

ReadDataLine

VideoPortDDCMonitorHelper

WriteClockLine

WriteDataLine