Rev | Line | |
---|
[778] | 1 | .486
|
---|
| 2 | .model flat, stdcall
|
---|
| 3 |
|
---|
[800] | 4 | ImportTrap 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] | 9 | ENDM
|
---|
[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] | 30 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.