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


  

RegistryEntryPropertyMod

RegistryEntryPropertyMod searches for name entries that have a property with a specified modifier.

OSStatus RegistryEntryPropertyMod (
                     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 of the next name entry found.
<-- done
Pointer, contains a value of true when searching is completed.
--> matchingModifiers
Pointer to the modifiers to be matched.
DESCRIPTION

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

RegistryEntryPropertyMod returns only name entries with properties that have 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 property.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter

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