Retrieves the file type of the specified file
#include <WinAPIFiles.au3>
_WinAPI_GetFileType ( $hFile )
$hFile | Handle to the file. |
Success: | The file type ($FILE_TYPE_*). |
Failure: | (-1) and sets the @error flag to non-zero, @extended flag may contain the system error code. |
$FILE_TYPE_* constants require #include <APIFilesConstants.au3>
Search GetFileType in MSDN Library.