Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

files LIKE win32api.txt 2

Status
Not open for further replies.

ADoozer

Programmer
Joined
Dec 15, 2002
Messages
3,487
Location
AU
does anyone know where i can get the text files for use with the API viewer that comes with visual studio

all i have is:-

mapi32
win32api

i would like to get info on other useful dll's

any help appreciated!! If somethings hard to do, its not worth doing - Homer Simpson
 
There are only 3 files like that. Other DLL's should have their own documentation.
 
foo!!!

do you (or anyone else) know of any sites that offer info for the main dll's for windows??

for example i have no info on psapi.dll yet i have used it on a few occasions!?!?

any input appreciated!! If somethings hard to do, its not worth doing - Homer Simpson
 
There is a few API details listed here:
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
johnwm: excellent thats gone straight into my favourites folder...

still open for more suggestions if anyone has them!!! If somethings hard to do, its not worth doing - Homer Simpson
 
NO!... no i havent, again another entry in my favourites folder! (well the second one definately)

thats worth a star! If somethings hard to do, its not worth doing - Homer Simpson
 
I've done some looking around at the sources here, and I can't figure something out. Why are there all these flags and other constants that are carefully documented as to behavior, but it seems that only rarely do they document the value? I assume that whatever flag set there is, the value of the constant has to be declared in any code using them. Is there some kind of convention I'm missing?

Here is an example from Microsoft's own doc, on the LoadKeyboardLayout function.
KLF_ACTIVATE
If the specified input locale identifier is not already loaded, the function loads and activates the input locale identifier for the current thread.
How do I know what to set KLF_ACTIVATE to? I'm assuming it's set to a value, and that value can't be random. Can someone enlighten me?
 
The reason is that most of the documentation for the API assumes that you will be using a C compiler of some sort (C, C++ etc) and the documentation advises on the header (.h) file you should use. The advised header files contain the necessary definitions.

 
Aha. That clears that up, thank you. Now then, how do you find out what the values are if you're in VB and have to declare them yourself?
 
You can use API Viewer. (See ChristophvW's post)

This software contains a huge database and you can find most functions, constants and type declarations.

In case you cannot find a definition, and you don't have API Viewer, you can google it.

See the following google search. You don't even need to open a result page.

 
Yeah, I'm familiar with the API viewer, at least to the point of cutting and pasting declare statements for GetWindowsDirectory in VB4 classes. So that has them all in there, good.

Thanks strongm, another alternative.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top