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 | GLOBALNAME vcc100_kernel32_fakes_asm
|
---|
21 |
|
---|
22 | MAKE_IMPORT_ENTRY DecodePointer, 4
|
---|
23 | MAKE_IMPORT_ENTRY EncodePointer, 4
|
---|
24 | MAKE_IMPORT_ENTRY InitializeCriticalSectionAndSpinCount, 8
|
---|
25 | MAKE_IMPORT_ENTRY HeapSetInformation, 16
|
---|
26 | MAKE_IMPORT_ENTRY HeapQueryInformation, 20
|
---|
27 | MAKE_IMPORT_ENTRY CreateTimerQueue, 0
|
---|
28 | MAKE_IMPORT_ENTRY CreateTimerQueueTimer, 28
|
---|
29 | MAKE_IMPORT_ENTRY DeleteTimerQueueTimer, 12
|
---|
30 | MAKE_IMPORT_ENTRY InitializeSListHead, 4
|
---|
31 | MAKE_IMPORT_ENTRY InterlockedFlushSList, 4
|
---|
32 | MAKE_IMPORT_ENTRY InterlockedPopEntrySList, 4
|
---|
33 | MAKE_IMPORT_ENTRY InterlockedPushEntrySList, 8
|
---|
34 | MAKE_IMPORT_ENTRY QueryDepthSList, 4
|
---|
35 | MAKE_IMPORT_ENTRY VerifyVersionInfoA, 16
|
---|
36 | MAKE_IMPORT_ENTRY VerSetConditionMask, 16
|
---|
37 |
|
---|
38 |
|
---|
39 |
|
---|