AIT_DirCreate
- Organization of this page
Description
Creates a new directory.
Format
bool AIT_DirCreate ( string strDirName // Directory name );
Parameters
strDirName (input)
Specify the name of a directory you want to create.
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 |
---|---|
3 |
ERROR_PATH_NOT_FOUND |
5 |
ERROR_ACCESS_DENIED |
8 |
ERROR_NOT_ENOUGH_MEMORY |
14 |
ERROR_OUTOFMEMORY |
15 |
ERROR_INVALID_DRIVE |
19 |
ERROR_WRITE_PROTECT |
21 |
ERROR_NOT_READY |
23 |
ERROR_CRC |
53 |
ERROR_BAD_NETPATH |
64 |
ERROR_NETNAME_DELETED |
82 |
ERROR_CANNOT_MAKE |
87 |
ERROR_INVALID_PARAMETER |
112 |
ERROR_DISK_FULL |
123 |
ERROR_INVALID_NAME |
148 |
ERROR_PATH_BUSY |
183 |
ERROR_ALREADY_EXISTS |
206 |
ERROR_FILENAME_EXCED_RANGE |
267 |
ERROR_DIRECTORY |
1005 |
ERROR_UNRECOGNIZED_VOLUME |
1210 |
ERROR_INVALID_COMPUTERNAME |
1214 |
ERROR_INVALID_NETNAME |
1231 |
ERROR_NETWORK_UNREACHABLE |