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

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

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

File size: 771 bytes
RevLine 
[778]1.486
2.model flat, stdcall
3
[800]4ImportTrap MACRO name, arg
5 @CATSTR(<alias__imp__>, name) LABEL DWORD
6 @CATSTR(<_imp__>, name, <@>, arg) dd ?
[799]7 PUBLIC @CATSTR(<_imp__>, name, <@>, arg)
[800]8 PUBLIC @CATSTR(<alias__imp__>, name)
[799]9ENDM
[778]10
[800]11.const
12 TrapTableFirst LABEL DWORD
[799]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
[800]21 ImportTrap InterlockedCompareExchange, 12
22 TrapTableLast LABEL DWORD
[778]23
[800]24 REPEAT 4096 - (TrapTableLast - TrapTableFirst)
25 db ?
26 ENDM
27
28 PUBLIC TrapTableFirst
29 PUBLIC TrapTableLast
[778]30end
Note: See TracBrowser for help on using the repository browser.