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/11/27 13:58,
3.144.244.244: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! |
.