PVIDEO_WRITE_DATA_LINE callback function

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

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

See Also

HwVidGetVideoChildDescriptor

I2C Functions

ReadClockLine

ReadDataLine

VideoPortDDCMonitorHelper

WriteClockLine