RegistryCStrEntryToPath returns the pathname of a name entry in the Name Registry.
OSStatus RegistryCStrEntryToPath (
const RegEntryID *entryID,
RegCStrPathName *pathName,
RegPathNameSize pathSize);
Given a RegEntryID value that identifies a name entry, RegistryCStrEntryToPath returns its pathname in pathName. If the buffer provided is too small, it returns nrPathBufferTooSmall.
noErr
|
0 | No error |
paramErr
|
-50 | Bad parameter |
nrInvalidNodeErr
|
-2538 | RegEntryID value not valid |
nrPathBufferTooSmall
|
-2543 | Buffer for pathname too small |