source: dev/trunk/ab5.0/abdev/OldWindowsHelper.asm

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

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
File size: 741 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.