Retrieves the file type of the specified file .
DWORD GetRtFileType(
RTHANDLE hFile);
hFile
The function returns one of the following values:
| Return value | Description |
|---|---|
FILE_TYPE_DEVICE |
I/O device, such as a console or serial device. |
FILE_TYPE_DISK |
Disk file. |
FILE_TYPE_DIRECTORY |
Disk directory. |
FILE_TYPE_UNKNOWN |
Unrecognized file type, or the function failed. |
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 6.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |