1 |
|
---|
2 |
|
---|
3 | %include "iprt/asmdefs.mac"
|
---|
4 |
|
---|
5 | %ifndef RT_ARCH_X86
|
---|
6 | %error "This is x86 only code.
|
---|
7 | %endif
|
---|
8 |
|
---|
9 |
|
---|
10 | %macro MAKE_IMPORT_ENTRY 2
|
---|
11 | extern _ %+ %1 %+ @ %+ %2
|
---|
12 | global __imp__ %+ %1 %+ @ %+ %2
|
---|
13 | __imp__ %+ %1 %+ @ %+ %2:
|
---|
14 | dd _ %+ %1 %+ @ %+ %2
|
---|
15 |
|
---|
16 | %endmacro
|
---|
17 |
|
---|
18 |
|
---|
19 | BEGINDATA
|
---|
20 |
|
---|
21 | MAKE_IMPORT_ENTRY DecodePointer, 4
|
---|
22 | MAKE_IMPORT_ENTRY EncodePointer, 4
|
---|
23 | MAKE_IMPORT_ENTRY InitializeCriticalSectionAndSpinCount, 8
|
---|
24 | MAKE_IMPORT_ENTRY HeapSetInformation, 16
|
---|
25 | MAKE_IMPORT_ENTRY HeapQueryInformation, 20
|
---|
26 |
|
---|
27 |
|
---|