Job Management Partner 1/IT Desktop Management 2 Automatic Installation Tool Administration Guide
Description
Closes a file search handle returned by the AIT_FindFirstFile function.
Format
bool AIT_FindCloseFile ( integer nSearchHandle // File search handle );
Parameters
nSearchHandle (input)
Specify a file search handle returned by the AIT_FindFirstFile function.
Return values
The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError might return:
| Extended error number | Error code |
|---|---|
| 6 | ERROR_INVALID_HANDLE |
| 8 | ERROR_NOT_ENOUGH_MEMORY |
| 14 | ERROR_OUTOFMEMORY |
| 112 | ERROR_DISK_FULL |
Note
After having called the AIT_FindClose function, you cannot use the handle set in the nSearchHandle parameter to subsequently call the AIT_FindNextFile or AIT_FindCloseFile function.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.