Contents

getDDCBlock

Return display EDID data.

Declaration

virtual IOReturn getDDCBlock(
 IOIndexconnectIndex,
 UInt32blockNumber, 
 IOSelectblockType,
 IOOptionBitsoptions, 
 UInt8 *data,
 IOByteCount *length );

Parameters

  • connectIndex:

    Index of the display connection, from zero to the value of getConnectionCount().

  • blockNumber:

    Block number, ranging from one to the number of blocks return by the display.

  • blockType:

    kIODDCBlockTypeEDID will be passed.

  • options:

    No options are currently defined.

  • data:

    Caller allocated buffer to receive the blocks data.

  • length:

    In/out parameter - callers allocated buffer size, driver returns actual size.

Return Value

An IOReturn code.

Overview

Hardware that supports DDC/EDID display sensing should implement this method to return EDID data in 128 byte blocks.

See Also

Miscellaneous