The GetFileType function returns the type of the specified file.
DWORD GetFileType(
HANDLE hFile |
// file handle |
); |
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. |
file: /Techref/os/win/api/win32/func/src/f32_3.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/12/28 17:26,
18.191.171.86:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/func/src/f32_3.htm"> GetFileType</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.