source: trunk/src/libwrap/_DosQuerySysState.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: 536 bytes
Line 
1 .386p
2CODE32 SEGMENT DWORD PUBLIC USE32 'CODE'
3
4 EXTRN DosQuerySysState:PROC
5 PUBLIC _DosQuerySysState
6_DosQuerySysState 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 DosQuerySysState
17 add esp, 24
18 pop fs
19 ret
20_DosQuerySysState ENDP
21
22CODE32 ENDS
23
24 END
Note: See TracBrowser for help on using the repository browser.