Wc_File_Close - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

NetLinx UniCode Functions (Cont.)

WC_FILE_CLOSE

NetLinx Programming Language Reference Guide
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)
NetLinx UniCode Functions
175

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents