source: dev/branches/egtra/ab5.0/abdev/OldWindowsHelper.asm

Last change on this file was 802, checked in by イグトランス (egtra), 14 years ago

コンパイラでもMSLUを使用するように変更

File size: 771 bytes
Line 
1.486
2.model flat, stdcall
3
4ImportTrap MACRO name, arg
5 @CATSTR(<alias__imp__>, name) LABEL DWORD
6 @CATSTR(<_imp__>, name, <@>, arg) dd ?
7 PUBLIC @CATSTR(<_imp__>, name, <@>, arg)
8 PUBLIC @CATSTR(<alias__imp__>, name)
9ENDM
10
11.const
12 TrapTableFirst LABEL DWORD
13 ImportTrap IsDebuggerPresent, 0
14 ImportTrap EncodePointer, 4
15 ImportTrap DecodePointer, 4
16 ImportTrap IsProcessorFeaturePresent, 4
17 ImportTrap HeapSetInformation, 16
18 ImportTrap InitializeCriticalSectionAndSpinCount, 8
19 ImportTrap InterlockedPushEntrySList, 8
20 ImportTrap InterlockedPopEntrySList, 4
21 ImportTrap InterlockedCompareExchange, 12
22 TrapTableLast LABEL DWORD
23
24 REPEAT 4096 - (TrapTableLast - TrapTableFirst)
25 db ?
26 ENDM
27
28 PUBLIC TrapTableFirst
29 PUBLIC TrapTableLast
30end
Note: See TracBrowser for help on using the repository browser.