RegistryPropertyGet retrieves the value of a property in the Name Registry.
OSStatus RegistryPropertyGet (
const RegEntryID *entryID,
const RegPropertyName *propertyName,
void *propertyValue,
RegPropertyValueSize *propertySize);
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.
RegistryPropertyGet may be called from task level or outside the task level context.
noErr
|
0 | No error |
paramErr
|
-50 | Bad parameter |
nrInvalidNodeErr
|
-2538 | RegEntryID value not valid |
nrNotFoundErr
|
-2539 | Search failed to match criteria |