Re: Sending/returning values to MFC/Microsoft functions
- From: spamtrap@xxxxxxxxxx
- Date: Wed, 18 Oct 2006 00:53:59 -0500
On Wed, 18 Oct 2006 05:02:04 GMT, Tim Roberts <spamtrap@xxxxxxxxxx>
wrote:
"Trev" <spamtrap@xxxxxxxxxx> wrote:
Sorry for a really stupid question, but how do I send and receive
values to/from Windows APIs? Is it via the stack, or via registers? If
the latter, is there a website that lists which registers contain which
return values?
All of the Windows APIs are C APIs. That means values are passed in on the
stack, and dword return values are returned in eax.
Gee, and here I thought that they were all StdCall, as shown in the
Documentation and the C headers.
(except for an odd 2 or 3 which are actually cdecl)
--
ArarghMail610 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the garbage from the reply address.
.
- Follow-Ups:
- Re: Sending/returning values to MFC/Microsoft functions
- From: Bob Masta
- Re: Sending/returning values to MFC/Microsoft functions
- References:
- Sending/returning values to MFC/Microsoft functions
- From: Trev
- Re: Sending/returning values to MFC/Microsoft functions
- From: Tim Roberts
- Sending/returning values to MFC/Microsoft functions
- Prev by Date: Re: Enter multiple values and display them all at once
- Next by Date: Having trouble posting?
- Previous by thread: Re: Sending/returning values to MFC/Microsoft functions
- Next by thread: Re: Sending/returning values to MFC/Microsoft functions
- Index(es):
Relevant Pages
|