Rev 145 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
145 | halyavin | 1 | format ELF |
159 | halyavin | 2 | include "public_stdcall.inc" |
145 | halyavin | 3 | section '.text' executable |
159 | halyavin | 4 | public_stdcall _msys_send_message,12 |
145 | halyavin | 5 | ;arg1 - pid |
6 | ;arg2 - msg |
||
7 | ;arg3 - size |
||
8 | push ebx esi |
||
9 | mov eax,60 |
||
10 | mov ebx,2 |
||
11 | mov ecx,[esp+12] |
||
12 | mov edx,[esp+16] |
||
13 | mov esi,[esp+20] |
||
14 | int 0x40 |
||
15 | pop esi ebx |
||
16 | ret 12 |
||
17 | |||
159 | halyavin | 18 | public_stdcall _msys_define_receive_area,8 |
145 | halyavin | 19 | ;arg1 - area |
20 | ;arg2 - size |
||
21 | push ebx |
||
22 | mov eax,60 |
||
23 | mov ebx,1 |
||
24 | mov ecx,[esp+8] |
||
25 | mov edx,[esp+12] |
||
26 | int 0x40 |
||
27 | pop ebx |
||
28 | ret 8 |