E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/include/windows/PsWindowsInclude.h
Go to the documentation of this file.00001 // This code contains NVIDIA Confidential Information and is disclosed to you 00002 // under a form of NVIDIA software license agreement provided separately to you. 00003 // 00004 // Notice 00005 // NVIDIA Corporation and its licensors retain all intellectual property and 00006 // proprietary rights in and to this software and related documentation and 00007 // any modifications thereto. Any use, reproduction, disclosure, or 00008 // distribution of this software and related documentation without an express 00009 // license agreement from NVIDIA Corporation is strictly prohibited. 00010 // 00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES 00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO 00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, 00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. 00015 // 00016 // Information and code furnished is believed to be accurate and reliable. 00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such 00018 // information or for any infringement of patents or other rights of third parties that may 00019 // result from its use. No license is granted by implication or otherwise under any patent 00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice. 00021 // This code supersedes and replaces all information previously supplied. 00022 // NVIDIA Corporation products are not authorized for use as critical 00023 // components in life support devices or systems without express written approval of 00024 // NVIDIA Corporation. 00025 // 00026 // Copyright (c) 2008-2014 NVIDIA Corporation. All rights reserved. 00027 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. 00028 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. 00029 00030 #ifndef PSFOUNDATION_PSWINDOWSINCLUDE_H 00031 #define PSFOUNDATION_PSWINDOWSINCLUDE_H 00032 00033 #include "Ps.h" 00034 00035 #ifndef _WIN32 00036 #error "This file should only be included by Windows builds!!" 00037 #endif 00038 00039 #ifdef _WINDOWS_ // windows already included 00040 #error "Only include windows.h through this file!!" 00041 #endif 00042 00043 // We only support >= Windows XP, and we need this for critical section and 00044 #if !PX_WINRT 00045 #define _WIN32_WINNT 0x0501 00046 #else 00047 #define _WIN32_WINNT 0x0602 00048 #endif 00049 00050 // turn off as much as we can for windows. All we really need is the thread functions(critical sections/Interlocked* 00051 // etc) 00052 #define NOGDICAPMASKS 00053 #define NOVIRTUALKEYCODES 00054 #define NOWINMESSAGES 00055 #define NOWINSTYLES 00056 #define NOSYSMETRICS 00057 #define NOMENUS 00058 #define NOICONS 00059 #define NOKEYSTATES 00060 #define NOSYSCOMMANDS 00061 #define NORASTEROPS 00062 #define NOSHOWWINDOW 00063 #define NOATOM 00064 #define NOCLIPBOARD 00065 #define NOCOLOR 00066 #define NOCTLMGR 00067 #define NODRAWTEXT 00068 #define NOGDI 00069 #define NOMB 00070 #define NOMEMMGR 00071 #define NOMETAFILE 00072 #define NOMINMAX 00073 #define NOOPENFILE 00074 #define NOSCROLL 00075 #define NOSERVICE 00076 #define NOSOUND 00077 #define NOTEXTMETRIC 00078 #define NOWH 00079 #define NOWINOFFSETS 00080 #define NOCOMM 00081 #define NOKANJI 00082 #define NOHELP 00083 #define NOPROFILER 00084 #define NODEFERWINDOWPOS 00085 #define NOMCX 00086 #define WIN32_LEAN_AND_MEAN 00087 #if !PX_WINRT 00088 #define NOUSER 00089 #define NONLS 00090 #define NOMSG 00091 #endif 00092 00093 #pragma warning(push) 00094 #pragma warning(disable : 4668) //'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives' 00095 #include <windows.h> 00096 #pragma warning(pop) 00097 00098 #if PX_SSE2 00099 #include <xmmintrin.h> 00100 #endif 00101 00102 #endif // #ifndef PSFOUNDATION_PSWINDOWSINCLUDE_H
Generated on Tue Jul 28 14:21:55 2015 for NVIDIA(R) PsFoundation Reference by
![doxygen](doxygen.png)