Contents

getParentEntry

Returns an registry entry's first parent entry in a plane.

Declaration

virtual IORegistryEntry * getParentEntry(
 const IORegistryPlane *plane ) const;

Parameters

  • plane:

    The plane object.

Return Value

Returns the first parent of the registry entry, or zero if the entry is not attached into the registry in that plane. The parent is retained while the entry is attached, and should not be released by the caller.

Overview

This function will return the parent to which a registry entry was first attached. Since the majority of registry entrys have only one provider, this is a useful simplification.

See Also

Miscellaneous