Main Page   Class List   Class Members  

  • Main Page
  • User's Guide
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

sdk/common/NvBlastIncludeWindows.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) 2016-2020 NVIDIA Corporation. All rights reserved.
00027 
00028 
00029 #ifndef NVBLASTINCLUDEWINDOWS_H
00030 #define NVBLASTINCLUDEWINDOWS_H
00031 
00032 #ifndef _WINDOWS_ // windows already included if this is defined
00033 
00034 #include "NvBlastPreprocessor.h"
00035 
00036 #ifndef _WIN32
00037 #error "This file should only be included by Windows builds!!"
00038 #endif
00039 
00040 // We only support >= Windows XP, and we need this for critical section and
00041 #if !NV_WINRT
00042 #define _WIN32_WINNT 0x0501
00043 #else
00044 #define _WIN32_WINNT 0x0602
00045 #endif
00046 
00047 // turn off as much as we can for windows. All we really need is the thread functions(critical sections/Interlocked*
00048 // etc)
00049 #define NOGDICAPMASKS
00050 #define NOVIRTUALKEYCODES
00051 #define NOWINMESSAGES
00052 #define NOWINSTYLES
00053 #define NOSYSMETRICS
00054 #define NOMENUS
00055 #define NOICONS
00056 #define NOKEYSTATES
00057 #define NOSYSCOMMANDS
00058 #define NORASTEROPS
00059 #define NOSHOWWINDOW
00060 #define NOATOM
00061 #define NOCLIPBOARD
00062 #define NOCOLOR
00063 #define NOCTLMGR
00064 #define NODRAWTEXT
00065 #define NOGDI
00066 #define NOMB
00067 #define NOMEMMGR
00068 #define NOMETAFILE
00069 #define NOMINMAX
00070 #define NOOPENFILE
00071 #define NOSCROLL
00072 #define NOSERVICE
00073 #define NOSOUND
00074 #define NOTEXTMETRIC
00075 #define NOWH
00076 #define NOWINOFFSETS
00077 #define NOCOMM
00078 #define NOKANJI
00079 #define NOHELP
00080 #define NOPROFILER
00081 #define NODEFERWINDOWPOS
00082 #define NOMCX
00083 #ifndef WIN32_LEAN_AND_MEAN
00084 #define WIN32_LEAN_AND_MEAN
00085 #endif
00086 #if !NV_WINRT
00087 #define NOUSER
00088 #define NONLS
00089 #define NOMSG
00090 #endif
00091 
00092 #pragma warning(push)
00093 #pragma warning(disable : 4668) //'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives'
00094 #include <windows.h>
00095 #pragma warning(pop)
00096 
00097 #if NV_SSE2
00098 #include <xmmintrin.h>
00099 #endif
00100 
00101 #endif // #ifndef _WINDOWS_
00102 
00103 #endif // #ifndef NVBLASTINCLUDEWINDOWS_H
Copyright © 2015-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com