source: trunk/src/libwrap/O32_GetModuleHandle.asm@ 10220

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

Assembly wrappers for WGSS and OS/2 functions

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