Bewerken

Delen via


PVIDEO_READ_DATA_LINE callback function (video.h)

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

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

See also

HwVidGetVideoChildDescriptor

I2C Functions

ReadClockLine

VideoPortDDCMonitorHelper

WriteClockLine

WriteDataLine