source: trunk/src/libwrap/O32_ReadFile.asm

Last change on this file was 10220, checked in by sandervl, 22 years ago

Assembly wrappers for WGSS and OS/2 functions

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