1 | /* $Id: VBoxDispD3DBase.h 48071 2013-08-26 19:12:02Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxVideo Display D3D Base Include
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2013 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 | #ifndef __VBoxDispD3DBase_h_
|
---|
18 | #define __VBoxDispD3DBase_h_
|
---|
19 |
|
---|
20 | # define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap
|
---|
21 | # define _InterlockedExchangeAdd _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
|
---|
22 | # define _InterlockedCompareExchange _InterlockedCompareExchange_StupidDDKVsCompilerCrap
|
---|
23 | # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
|
---|
24 | # define _interlockedbittestandset _interlockedbittestandset_StupidDDKVsCompilerCrap
|
---|
25 | # define _interlockedbittestandreset _interlockedbittestandreset_StupidDDKVsCompilerCrap
|
---|
26 | # define _interlockedbittestandset64 _interlockedbittestandset64_StupidDDKVsCompilerCrap
|
---|
27 | # define _interlockedbittestandreset64 _interlockedbittestandreset64_StupidDDKVsCompilerCrap
|
---|
28 | # pragma warning(disable : 4163)
|
---|
29 | #include <windows.h>
|
---|
30 | # pragma warning(default : 4163)
|
---|
31 | # undef _InterlockedExchange
|
---|
32 | # undef _InterlockedExchangeAdd
|
---|
33 | # undef _InterlockedCompareExchange
|
---|
34 | # undef _InterlockedAddLargeStatistic
|
---|
35 | # undef _interlockedbittestandset
|
---|
36 | # undef _interlockedbittestandreset
|
---|
37 | # undef _interlockedbittestandset64
|
---|
38 | # undef _interlockedbittestandreset64
|
---|
39 |
|
---|
40 | #include <d3d9types.h>
|
---|
41 | //#include <d3dtypes.h>
|
---|
42 | #include <D3dumddi.h>
|
---|
43 | #include <d3dhal.h>
|
---|
44 |
|
---|
45 |
|
---|
46 | #endif /* #ifndef __VBoxDispD3DBase_h_ */
|
---|