cdecl to local ipc wrapper
Marcel Sondaar
Public Domain
| localipccall.asm | cdecl to local ipc wrapper |
| Functions | |
| localipccall | performs an ipc call to a handler in the local address space |
performs an ipc call to a handler in the local address space
| stack(1) | handler’s address |
| stack(2) | pointer to the first parameter |
| stack(3) | pointer to the second parameter |
| stack(4) | pointer to the third parameter |
| stack(5) | pointer to the fourth parameter |
| [ stack(2) ] | first returned parameter |
| [ stack(3) ] | second returned parameter |
| [ stack(4) ] | third returned parameter |
| [ stack(5) ] | fourth returned parameter |
| return | success status |
note that you can not supply NULL pointers as these are filled without checking