RegistryEntryToPathSize returns the size of the pathname to a specified name entry.
OSStatus RegistryEntryToPathSize(
const RegEntryID *entryID,
RegPathNameSize *pathSize);
RegistryEntryToPathSize returns in pathSize the length (in bytes) of the absolute pathname of the name entry designated by entryID, including the pathname's terminating character.
noErr
|
0 | No error |
paramErr
|
-50 | Bad parameter |
nrInvalidNodeErr
|
-2538 | RegEntryID value not valid |