|
Last change
on this file since 10542 was 10220, checked in by sandervl, 22 years ago |
|
Assembly wrappers for WGSS and OS/2 functions
|
|
File size:
369 bytes
|
| Line | |
|---|
| 1 | .386p
|
|---|
| 2 | CODE32 SEGMENT DWORD PUBLIC USE32 'CODE'
|
|---|
| 3 |
|
|---|
| 4 | EXTRN WinQueryFocus:PROC
|
|---|
| 5 | PUBLIC _WinQueryFocus
|
|---|
| 6 | _WinQueryFocus PROC NEAR
|
|---|
| 7 | push fs
|
|---|
| 8 | mov eax, 0150bh
|
|---|
| 9 | mov fs, eax
|
|---|
| 10 | push dword ptr [esp+8]
|
|---|
| 11 | call WinQueryFocus
|
|---|
| 12 | add esp, 4
|
|---|
| 13 | pop fs
|
|---|
| 14 | ret
|
|---|
| 15 | _WinQueryFocus ENDP
|
|---|
| 16 |
|
|---|
| 17 | CODE32 ENDS
|
|---|
| 18 |
|
|---|
| 19 | END
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.