PVIDEO_WRITE_DATA_LINE callback function (video.h)

WriteDataLine sets the I2C serial data line to high or low.

Syntax

PVIDEO_WRITE_DATA_LINE PvideoWriteDataLine;

void PvideoWriteDataLine(
  PVOID HwDeviceExtension,
  UCHAR Data
)
{...}

Parameters

HwDeviceExtension

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

Data

Supplies a value that specifies whether to set the serial data line to high or low. A value of 0 specifies that the data line should be set to low, and a value of 1 specifies that the data line should be set to high.

Return value

None

Remarks

WriteDataLine should be made pageable.

Requirements

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

See also

HwVidGetVideoChildDescriptor

I2C Functions

ReadClockLine

ReadDataLine

VideoPortDDCMonitorHelper

WriteClockLine