summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/r3/win/vcc100-kernel32-fakesA.asm
blob: 42fc780f05626dd2b1d1682dece25b6e4aa1847b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


%include "iprt/asmdefs.mac"

%ifndef RT_ARCH_X86
 %error "This is x86 only code.
%endif


%macro MAKE_IMPORT_ENTRY 2
extern _ %+ %1 %+ @ %+ %2
global __imp__ %+ %1 %+ @ %+ %2
__imp__ %+ %1 %+ @ %+ %2:
    dd _ %+ %1 %+ @ %+ %2

%endmacro


BEGINDATA

MAKE_IMPORT_ENTRY DecodePointer, 4
MAKE_IMPORT_ENTRY EncodePointer, 4
MAKE_IMPORT_ENTRY InitializeCriticalSectionAndSpinCount, 8
MAKE_IMPORT_ENTRY HeapSetInformation, 16
MAKE_IMPORT_ENTRY HeapQueryInformation, 20