Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Values of constants
Message
From
29/02/2004 10:26:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Values of constants
Miscellaneous
Thread ID:
00881877
Message ID:
00881877
Views:
46
Hi to All,

In a vfp-function that calls an API function, a constant is declared. See my actual example:
#DEFINE DRIVE_REMOTE  4
DECLARE INTEGER GetDriveType IN kernel32 STRING RootPath
...
I wanted to know the other possible values, so I searched for the text DRIVE_REMOTE on the internet and in my own header files.

On the internet, there are some valuable resources, for example http://www.news2news.com/vfp (from Anatoliy Mogylevets) and on the ms-website. They all use the names of the constants, but seem to lack a place where the values of the constants are given.

With regard to DRIVE_REMOTE, I finally, after a long search, found Winbase.h in my map "[drive]:\Microsoft Visual Studio\VC98\Include". It has a comment on top saying: This module defines the 32-Bit Windows Base APIs.

What other places and/or headerfiles can be used as reference?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Next
Reply
Map
View

Click here to load this message in the networking platform