Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Values of constants
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00881877
Message ID:
00881909
Views:
32
Hi Peter,

If you look up an API function in MSDN, you'll find at the bottom of it description what header files it's using. After that you can go to VC include directory and open that header file. You can also run Windows search on *.H files in INCLUDE directory for constant you're interested in but it could return more entries because it would list also header files that're using it.

>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 ":\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?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform