Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
kernel32.lib
Header File
winbase.h
Unicode
No
Platform Notes
None

GetFileType

The GetFileType function returns the type of the specified file.

DWORD GetFileType(

HANDLE hFile
// file handle
);

Parameters

hFile

Identifies an open file handle.

Return Values

The return value is one of the following values:

Value
Meaning
FILE_TYPE_UNKNOWN
The type of the specified file is unknown.
FILE_TYPE_DISK
The specified file is a disk file.
FILE_TYPE_CHAR
The specified file is a character file, typically an LPT device or a console.
FILE_TYPE_PIPE
The specified file is either a named or anonymous pipe.

See Also

GetFileSize
, GetFileTime

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database