VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/winoverride.h@ 55365

Last change on this file since 55365 was 53274, checked in by vboxsync, 10 years ago

VBoxGetProcessHeap is not needed; file headers are required, though.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
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
27LPVOID WINAPI VBoxHeapAlloc(HANDLE hHeap, DWORD heaptype, SIZE_T size);
28BOOL WINAPI VBoxHeapFree(HANDLE hHeap, DWORD heaptype, LPVOID ptr);
29LPVOID WINAPI VBoxHeapReAlloc(HANDLE hHeap,DWORD heaptype, LPVOID ptr, SIZE_T size);
30void VBoxDebugBreak(void);
31
32#endif /* !__WINOVERRIDE_H__ */
33
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette