AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

GetFileType

The GetFileType function returns the type of the specified file.

VB4-32,5,6
Declare Function GetFileType Lib "kernel32" Alias "GetFileType" (ByVal hFile As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Kernel32

Parameter Information
· hFile
Identifies an open file handle.

Return Values
The return value is one of the following values:
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.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/