DDC_CONTROL structure (video.h)

The DDC_CONTROL structure holds function pointers and EDID segment information needed by the VideoPortDDCMonitorHelper function, which is exported by the video port driver. The HwVidGetVideoChildDescriptor function, implemented by the video miniport driver, can call VideoPortDDCMonitorHelper for assistance in reading the EDID blocks from its child monitor devices.

Syntax

typedef struct _DDC_CONTROL {
  IN ULONG         Size;
  IN I2C_CALLBACKS I2CCallbacks;
  IN UCHAR         EdidSegment;
} DDC_CONTROL, *PDDC_CONTROL;

Members

Size

Specifies the size, in bytes, of this DDC_CONTROL structure.

I2CCallbacks

Is an I2C_CALLBACKS structure that contains pointers to functions, implemented by the video miniport driver, that read and write individual data bits to the I2C serial clock and data lines.

EdidSegment

Specifies the particular EDID segment. Currently, this member is meaningful only for EEDID (EDID Version 1.3); for other EDID versions, this member should always be set to 0. For EEDID (EDID Version 1.3), segment numbers can range from 0 through 127, where each segment is 256 bytes in length. Since the EDID version number is in segment 0, this member must be set to 0 the first time the video miniport driver calls VideoPortDDCMonitorHelper regarding a particular monitor.

Requirements

Requirement Value
Header video.h (include Video.h)

See also

I2C Functions

ReadClockLine

ReadDataLine

WriteClockLine

WriteDataLine