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


  

RegistryEntryMod

RegistryEntryMod searches for name entries that have specified modifiers.

OSStatus RegistryEntryMod (
                     RegEntryIter *cookie,
                     RegEntryIterationOp relationship,
                     RegEntryID *foundEntry,
                     Boolean *done,
                     RegEntryModifiers matchingModifiers);
--> cookie
Pointer to the iterator returned by the RegistryIterateCreate function for the name entry iterate and search routines.
--> relationship
The search relationship (values defined in Data Structures and Constants ).
<-- foundEntry
Pointer to the ID returned for the next name entry found.
<-- done
Pointer, contains true if searching is completed.
<-- matchingModifiers
The modifiers to be matched.
DESCRIPTION

RegistryEntryMod searches for name entries, using the relation indicated by relationship, that have a specified modifier. RegistryEntryMod returns the RegEntryID value that identifies the next name entry found in foundEntry, or true in done if all entries have been exhausted.

RegistryEntryMod returns only name entries with modifiers that match the value of matchingModifiers. It uses a bit AND operation to determine when the bits set in matchingModifiers are also set in the entry.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

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