All Databases
Inside Mac - Basic Toolbox
GetWDInfo
GetWDInfo
Query information about an existing working directory
#include <
Files.h
>
File Manager (PBxxx)
OSErr
GetWDInfo
(
wdRefNum, vRefNum, dirID, procID
);
short
wdRefNum
; working directory to query
short
* vRefNum
; ref num of working directory's volume
long
*dirID
; directory ID of working directory
long
*procID
; if != 0, index specific working directories
returns
Error Code
; 0=no error
GetWDInfo
obtains the "hard" directory ID and the real volume number
associated with a working directory.
Returns
: an operating system
Error Code
. It will be one of:
noErr (0) No error
nsvErr (-35) No such volume
Referenced by (2):
File Manager (High Level) (Inside Mac - Index)
July 90 - MACINTOSH Q & A (develop - 1990)