NWCloseFile(3nw)
NWCloseFile --
closes a open file using an OS handle or an NWFILE_HANDLE
Synopsis
#include <nwfile.h>
or
#include <nwcalls.h>
NWCCODE N_API NWCloseFile
(NWFILE_HANDLE fileHandle);
Description
The parameters are as follows:
- fileHandle
-
(IN) Specifies the handle of the file to be closed.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x8988
-
INVALID_FILE_HANDLE
- 0x89FF
-
LOCK_ERROR
Notices
This function closes the corresponding NetWare file and releases any corresponding local resources.
On the Mac OS, this function only closes NWFILE_HANDLEs. You must use Mac OS functions to close an OS handle.
Services
File I/O
NCP calls
0x2222 66 Close File
References
NWOpenFile(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.