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 12:04,
52.15.71.146: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://sxlist.com/techref/os/win/api/win32/func/src/f32_3.htm"> GetFileType</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.