Contents

copyParentEntry

Returns an registry entry's first parent entry in a plane. Available in macOS 10.1 or later.

Declaration

virtual IORegistryEntry * copyParentEntry(
 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. A reference on the entry is returned to caller, which should be released.

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