Log in

View Full Version : Windows API


Stilgar
November 6th, 2003, 11:52
I have a Win32 API in hlp format in my computer, but I'm looking for a list of returned values (in assembly) by the various APIs.

By searching the net, I can found the return values of specific APIs. Does anyone knows of a downloadable version of the Win32 API that list the functions and their return value?

Example:
MessageBox
What it does...
blah blah blah

Return Values
OK - 1
Cancel - 2
Abort - 3
Retry - 4
Ignore - 5
Yes - 6
No - 7

Thanks in advance!

Fake51
November 6th, 2003, 13:12
Quote:
[Originally Posted by Stilgar]I have a Win32 API in hlp format in my computer, but I'm looking for a list of returned values (in assembly) by the various APIs.

By searching the net, I can found the return values of specific APIs. Does anyone knows of a downloadable version of the Win32 API that list the functions and their return value?

Example:
MessageBox
What it does...
blah blah blah

Return Values
OK - 1
Cancel - 2
Abort - 3
Retry - 4
Ignore - 5
Yes - 6
No - 7

Thanks in advance!


If I were you I'd just check with windows.inc from, say, the masm package. The win32.hlp will list the main results from the api's, and you can get the specific values in windows.inc

Fake

Zwyzum
November 6th, 2003, 16:44
Hi

Fake51 is right. Also the win*.h files you can find in any C/C++ compiler will do.

Zwyzum

Stilgar
November 7th, 2003, 11:25
I'm downloading masm and tasm. I'll look at the win*.inc and try to use the info here.

Thanks to Fake51 and Zwyzum for the quick answers.