Contents

getKeyValue

Declaration

virtual IOReturn getKeyValue(
 intvalue,
 UInt32 &text,
 OSString **text = NULL);

Parameters

  • value:

    on return, set to the data type

    reference to variable to store the entry's value

  • text:

    if non-zero, on return points to the string description of the field, or NULL if no text found.

Return Value

kIOReturnSuccess if the key exists in the dictionary and is of a type appropriate for the value parameter

Overview

Gets the value for the specified key, in a variety of forms.

See Also

Miscellaneous