Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFileType
Message
From
31/01/2000 11:58:59
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00325038
Message ID:
00325074
Views:
25
You have to pass it a file handle (that you've determined via a different API function).

DECLARE INTEGER GetFileType IN WIN32API ;
INTEGER hFile

lnType = GetFileType( lnHandle)

It returns one of:

FILE_TYPE_UNKNOWN
FILE_TYPE_DISK
FILE_TYPE_CHAR
FILE_TYPE_PIPE

>Can someone provide the syntax for using the
>GetFileType function in Win32Api?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform