Contents

copyLocation

Returns the location string assigned to the registry entry as an OSSymbol.

Declaration

virtual const OSSymbol * copyLocation( 
 const IORegistryPlane *plane = 0 ) const;

Parameters

  • plane:

    The plane object, or zero for the global name.

Return Value

A reference to an OSSymbol for the location if one exists, which should be released by the caller, or zero.

Overview

Entries can given a location string in a particular plane, or globally. If the entry has had a location set in a plane and the plane is specified that location string will be returned, otherwise the global location string is returned. If no global location string has been set, zero is returned.

See Also

Miscellaneous