win32file.GetFileType

int = GetFileType(hFile)

Determines the type of a file.

Parameters

hFile : PyHANDLE

The handle to the file.