Important: The information in this document is obsolete and should not be used for new development.
GetWDInfo
You can use theGetWDInfofunction to get information about a working directory.
FUNCTION GetWDInfo (wdRefNum: Integer; VAR vRefNum: Integer; VAR dirID: LongInt; VAR procID: LongInt): OSErr;
wdRefNum- A working directory reference number.
vRefNum- If nonzero on input, a volume reference number or drive number. On output, the volume reference number of the working directory.
dirID- On output, the directory ID of the specified working directory.
procID- The working directory user identifier.
DESCRIPTION
TheGetWDInfofunction returns information about the specified working directory.
You can useGetWDInfoto convert a working directory reference number to its corresponding volume reference number and directory ID.RESULT CODES
noErr 0 No error nsvErr -35 No such volume rfNumErr -51 Bad working directory reference number