source: trunk/src/libwrap/_DosQueryModFromEIP.asm@ 21424

Last change on this file since 21424 was 21424, checked in by dmik, 15 years ago

Added wrappers for DosQueryModFromEIP and DosQuerySysState and added compiling emxomfld-friendly wrapper libraries.

File size: 546 bytes
Line 
1 .386p
2CODE32 SEGMENT DWORD PUBLIC USE32 'CODE'
3
4 EXTRN DosQueryModFromEIP:PROC
5 PUBLIC _DosQueryModFromEIP
6_DosQueryModFromEIP PROC NEAR
7 push fs
8 mov eax, 0150bh
9 mov fs, eax
10 push dword ptr [esp+28]
11 push dword ptr [esp+28]
12 push dword ptr [esp+28]
13 push dword ptr [esp+28]
14 push dword ptr [esp+28]
15 push dword ptr [esp+28]
16 call DosQueryModFromEIP
17 add esp, 24
18 pop fs
19 ret
20_DosQueryModFromEIP ENDP
21
22CODE32 ENDS
23
24 END
Note: See TracBrowser for help on using the repository browser.