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


  

RegistryCStrEntryToPath

RegistryCStrEntryToPath returns the pathname of a name entry in the Name Registry.

OSStatus RegistryCStrEntryToPath (
                     const RegEntryID *entryID,
                     RegCStrPathName *pathName,
                     RegPathNameSize pathSize);
--> entryID
Pointer to the RegEntryID value that identifies a name entry.
<-- pathName
Pointer to the returned pathname to the entry.
<-- pathSize
The size in bytes of the pathname buffer pointed to by pathName.
DESCRIPTION

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.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter
nrInvalidNodeErr -2538 RegEntryID value not valid
nrPathBufferTooSmall -2543 Buffer for pathname too small

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