Contents

getAttribute

Generic method to retrieve some attribute of the framebuffer device.

Declaration

virtual IOReturn getAttribute(
 IOSelectattribute,
 uintptr_t *value );

Parameters

  • attribute:

    Defines the attribute to be set. Some defined attributes are:

    kIOHardwareCursorAttribute If the device supports a hardware cursor and implements the setCursorImage() and setCursorState() calls it should return true for this attribute.

  • value:

    Returns the value for the attribute.

Return Value

an IOReturn code.

Overview

IOFramebuffer subclasses may implement this method to allow arbitrary attribute/value pairs to be returned.

See Also

Miscellaneous