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


  

Property Iteration

Traversing the set of properties associated with a name entry is similar to iteration over names in the Registry, described in Name Iteration and Searching.

Only one form of property iteration is provided--iteration over the set of properties associated with a single name entry.

A property iteration loop has this general form:

Create(...)
do {
        Iterate(...);
} while (!done);
Dispose(...);

Property iteration functions communicate by means of an iterator parameter that is a RegPropertyIter data structure:

typedef struct       RegPropertyIter { void *opaque; }
                     RegPropertyIter,
                     *RegPropertyIterPtr;

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