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


  

RegistryEntryToPathSize

RegistryEntryToPathSize returns the size of the pathname to a specified name entry.

OSStatus RegistryEntryToPathSize(
                     const RegEntryID *entryID,
                     RegPathNameSize *pathSize);
--> entryID
Pointer to the RegEntryID value that identifies a name entry.
<-- pathSize
Pointer to the returned size in bytes of the pathname to the entry.
DESCRIPTION

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.

RESULT CODES
noErr 0 No error
paramErr -50 Bad parameter
nrInvalidNodeErr -2538 RegEntryID value not valid

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