1 | /* $Id: winoverride.h 53274 2014-11-09 20:42:33Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * DevVMWare/Shaderlib - Wine Function Portability Overrides
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2013-2014 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef __WINOVERRIDE_H__
|
---|
19 | #define __WINOVERRIDE_H__
|
---|
20 |
|
---|
21 | #define GetProcessHeap() ((HANDLE)0)
|
---|
22 | #define HeapAlloc VBoxHeapAlloc
|
---|
23 | #define HeapFree VBoxHeapFree
|
---|
24 | #define HeapReAlloc VBoxHeapReAlloc
|
---|
25 | #define DebugBreak VBoxDebugBreak
|
---|
26 |
|
---|
27 | LPVOID WINAPI VBoxHeapAlloc(HANDLE hHeap, DWORD heaptype, SIZE_T size);
|
---|
28 | BOOL WINAPI VBoxHeapFree(HANDLE hHeap, DWORD heaptype, LPVOID ptr);
|
---|
29 | LPVOID WINAPI VBoxHeapReAlloc(HANDLE hHeap,DWORD heaptype, LPVOID ptr, SIZE_T size);
|
---|
30 | void VBoxDebugBreak(void);
|
---|
31 |
|
---|
32 | #endif /* !__WINOVERRIDE_H__ */
|
---|
33 |
|
---|