PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

RegistryEntryIterateCreate

RegistryEntryIterateCreate creates an iterator named cookie that is used by iterate and search routines. The iterator is initialized to the default starting entry root and to the relationship kRegIterDescendants, so it can be used to access the whole Name Registry.

OSStatus RegistryEntryIterateCreate (RegEntryIter *cookie);
--> cookie
Pointer to the iterator used by iterate and search routines.
DESCRIPTION

RegistryEntryIterateCreate sets up the iteration process for finding device names in the Name Registry and returns an iterator in cookie that is used by RegistryEntryIterate or RegistryEntrySearch.

EXECUTION CONTEXT

RegistryEntryIterateCreate may be called only from task level.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)