Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference
Description
Checks whether the file pointer has reached the EOF.
Format
integer AIT_FileEOF ( integer nFileHandle // File handle );
Parameters
nFileHandle (input)
Specify a file handle.
Return values
The return value is 1 if the file pointer has reached the EOF, and 0 if not. If the function has not been executed, the return value is -1. If -1 has been returned, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.
| Extended error number | Error code |
|---|---|
| 5 | ERROR_ACCESS_DENIED |
| 6 | ERROR_INVALID_HANDLE |
| 8 | ERROR_NOT_ENOUGH_MEMORY |
| 14 | ERROR_OUTOFMEMORY |
| 21 | ERROR_NOT_READY |
| 32 | ERROR_SHARING_VIOLATION |
| 33 | ERROR_LOCK_VIOLATION |
| 112 | ERROR_DISK_FULL |
| 148 | ERROR_PATH_BUSY |
| 1231 | ERROR_NETWORK_UNREACHABLE |
| 1392 | ERROR_FILE_CORRUPT |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.