Contents

connectFlags

Return display sense information for legacy Apple sensing.

Declaration

virtual IOReturn connectFlags(
 IOIndexconnectIndex, 
 IODisplayModeIDdisplayMode,
 IOOptionBits *flags );

Parameters

  • connectIndex:

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

  • displayMode:

    A display mode ID.

  • flags:

    Return the flags value for the given mode with the connected display. Flags are:

    kDisplayModeValidFlag - mode is considered valid for the connected display by the driver. kDisplayModeSafeFlag - mode is considered safe (not requiring mode change confirmation) for the connected display by the driver. kDisplayModeDefaultFlag - mode is considered default for the connected display by the driver.

Return Value

An IOReturn code.

Overview

Hardware that supports simple display sensing, or the classic 3 pin Apple sensing described in Designing Cards and Drivers, should implement this method to return mode flags relative to the sensed display. If this method is unimplemented, all modes have are given the flags kDisplayModeValidFlag | kDisplayModeSafeFlag.

See Also

Miscellaneous