Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> calling conventions</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Calling conventions
------------------------------------------------------------------------------
 All the DOS extender API functions use the Pascal calling convention, except
 where otherwise noted. This means that the function arguments are pushed
 onto the stack from left to right, and the code calling the function is NOT
 responsible for removing them from the stack.
 Far calls must be used with all the API functions, and all pointers must
 also be of type far.

 All the API functions return an unsigned integer (short) in AX to indicate
 the success or failure of the function. A zero value indicates success and
 any other value is an error code. All other registers are preserved. If the
 function is required to return any other value or result, it will take as a
 parameter one or more pointers to variables in which to store the results.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson