EasyManua.ls Logo

AMX NETLINX PROGRAMMING LANGUAGE - Server Programming

AMX NETLINX PROGRAMMING LANGUAGE
246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NetLinx UniCode Functions
175
NetLinx Programming Language Reference Guide
NetLinx UniCode Functions (Cont.)
WC_FILE_CLOSE This function closes a file opened with WC_FILE_OPEN. This function should
be called when all reading or writing to the file is completed.
SLONG WC_FILE_CLOSE (LONG hFile)
Parameters:
hFile: Handle to the file returned by WC_FILE_OPEN.
Result:
0: Operation was successful
-1: Invalid file handle
-5: Disk I/O error
-7: File already closed
There is a limit to the number of file handles available from the system. If files
are not closed, it may not be possible to open a file.
Result = WC_FILE_CLOSE (hFile)

Table of Contents

Related product manuals