Important: The information in this document is obsolete and should not be used for new development.
CloseWD
You can use theCloseWD
function to close a working directory.
FUNCTION CloseWD (wdRefNum: Integer): OSErr;
wdRefNum
- A working directory reference number.
DESCRIPTION
TheCloseWD
function releases the specified working directory.
- Note
- If you specify a volume reference number in the
wdRefNum
parameter,CloseWD
does nothing.RESULT CODES
noErr 0 No error nsvErr -35 No such volume rfNumErr -51 Bad working directory reference number