PVIDEO_READ_DATA_LINE callback function

ReadDataLine reads a single data bit from the I2C serial data line.

Syntax

PVIDEO_READ_DATA_LINE PvideoReadDataLine;

BOOLEAN PvideoReadDataLine(
  PVOID HwDeviceExtension
)
{...}

Parameters

HwDeviceExtension

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

Return Value

ReadDataLine returns 1 if the serial data line is high and 0 if the serial data line is low.

Remarks

ReadDataLine should be made pageable.

Requirements

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

See Also

HwVidGetVideoChildDescriptor

I2C Functions

ReadClockLine

VideoPortDDCMonitorHelper

WriteClockLine

WriteDataLine