getAppleSense
Return display sense information for legacy Apple sensing.
Declaration
virtual IOReturn getAppleSense(
IOIndexconnectIndex,
UInt32 *senseType,
UInt32 *primary,
UInt32 *extended,
UInt32 *displayType );Parameters
- connectIndex:
Index of the display connection, from zero to the value of getConnectionCount().
- senseType:
Return zero to indicate legacy Apple sensing.
- primary:
Return the value of the primary Apple sense code.
- extended:
Return the value of the secondary Apple sense code.
- displayType:
Return an Apple defined constant for the type of display sensed. For example, kVGAConnect, kNTSCConnect, kPALConnect etc.
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 sense information.
See Also
Miscellaneous
connectFlagsconvertCursorImagedoI2CRequestenableControllerflushCursorgetApertureRangegetAttributegetAttributeForConnectiongetConnectionCountgetCurrentDisplayMode(IODisplayModeID *, IOIndex *)getDDCBlockgetDisplayModeCountgetDisplayModesgetInformationForDisplayModegetPixelFormatsgetPixelFormatsForDisplayModegetPixelInformationgetStartupDisplayModegetTimingInfoForDisplayModegetVRAMRangehandleEventhasDDCConnectreadDDCClockreadDDCDataregisterForInterruptTypesetApertureEnablesetAttributesetAttributeForConnectionsetCLUTWithEntriessetCurrentDisplayModesetCursorImagesetCursorStatesetDDCClocksetDDCDatasetDetailedTimingssetDisplayModesetGammaTablesetInterruptStatesetStartupDisplayModeunregisterInterrupt(void *)unregisterInterrupt(void *, UInt32)validateDetailedTiming