Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Files /
Chapter 2 - File Manager / File Manager Reference
High-Level HFS Routines / Maintaining Working Directories


CloseWD

You can use the CloseWD function to close a working directory.

FUNCTION CloseWD (wdRefNum: Integer): OSErr;
wdRefNum
A working directory reference number.
DESCRIPTION
The CloseWD function releases the specified working directory.

Note
If you specify a volume reference number in the wdRefNum parameter, CloseWD does nothing.
RESULT CODES
noErr0No error
nsvErr-35No such volume
rfNumErr-51Bad working directory reference number

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996