Solved

API documentation

Posted on 2000-04-13
8
273 Views
Last Modified: 2010-04-04
I saw quite a few pieces of code before, that use functions in other dll files, such as kernel32.dll.

Where can I get a good documentation about these functions/dlls ?
I mean the "main" Windows-dlls.

Regards, Oli
0
Comment
Question by:Oli2
8 Comments
 
LVL 1

Expert Comment

by:flooder
ID: 2712113
The best I know of is the API help that comes with Borland Delphi and of course the SDK-kit which ships with delphi as well. It gives a short description of what the functions does and the different parameters and there values.
0
 
LVL 6

Expert Comment

by:edey
ID: 2712117
you should have a help file, win32.hlp eith the api functions listed.  the "quick info" for each function will tell you where it is defined.

Gl
Mike
0
 

Expert Comment

by:dentener
ID: 2712161
I think you can find nearly all the information you want on the MSDN library CD's. Nearly all API functions and much more information are covered on these CD's.

If you have a permanent or fast internet connection, you can also try www.msdn.microsoft.com and use the name of the API function you want information about as the search phrase.

Regards,

Paul
0
 
LVL 1

Author Comment

by:Oli2
ID: 2712316
sorry, but:
The API help that ships with Delphi (that is the win32.hlp file) doesn't give me any information about functions in external dlls, like for example the RegisterServiceProcess in kernel32.dll.

on www.msdn.microsoft.com I don't find any good documentation on this stuff also (am I too stupid?)

What I'm looking for is something like
a list of most-used-dlls and their content.

Like this:
"kernel32.dll"
function RegisterServiceProcess
blabla description blabla
function HowShouldIknowWhatsInside
blabla another description blabla

There are people that tell me:
solve your problem by calling
function xx : yy external 'some.dll';

How do they know what's inside some.dll ?

Regards, Oli
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Accepted Solution

by:
inthe earned 38 total points
ID: 2712662
if want to know what api functions are inside what dll then use tdump on the dll.
tdump is in delphi\bin dir.

msdn is definetly best place to find out api stuff.it has listings and example c code for mostly every api exist ,well not all but there is not much you cant find at msdn.
for instance find a function in a dll from tdump and search msdn for it you will find the answer/correct function calls and if lucky some code.
then search internet for example of same function and code in delphi.

0
 
LVL 1

Author Comment

by:Oli2
ID: 2712851
Thanx Barry!
It's not as much comfort as I would like to have, but it's a starting point...

Regards, Oli
0
 
LVL 17

Expert Comment

by:inthe
ID: 2712973
ps,
the best books of api functions with full xamples for delphi is the "tomes" series.

tomes win32 core api
and
tomes win32 graphical api are 2 of them and can be got from www.amazon.com for good prices.
0
 
LVL 3

Expert Comment

by:bryan7
ID: 2714655
"SDK-kit which ships with delphi"

???
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now