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


  

RegistryPropertyGet

RegistryPropertyGet retrieves the value of a property in the Name Registry.

OSStatus RegistryPropertyGet (
                     const RegEntryID *entryID,
                     const RegPropertyName *propertyName,
                     void *propertyValue,
                     RegPropertyValueSize *propertySize);
--> entryID
Pointer to the RegEntryID value that identifies a name entry.
--> propertyName
Pointer to the name of the property.
<-- propertyValue
Pointer containing the returned value for the property.
<--> propertySize
On input a pointer to the size in bytes of the property buffer. Upon return a pointer to the actual size in bytes of the property's value.
DESCRIPTION

RegistryPropertyGet retrieves the value of the property named propertyName and associated with the name entry identified by entryID. The propertySize parameter must be set to the size in bytes of the buffer pointed to by propertyValue. Upon return, the value of propertySize will be the actual length of the value in bytes.

EXECUTION CONTEXT

RegistryPropertyGet may be called from task level or outside the task level context.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter
nrInvalidNodeErr -2538 RegEntryID value not valid
nrNotFoundErr -2539 Search failed to match criteria

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