/* * Copyright (c) 2006 NVIDIA Corporation. All Rights Reserved. * * NVIDIA Corporation and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this software and related documentation without an express * license agreement from NVIDIA Corporation is strictly prohibited. */ #ifndef NVERROR_H #define NVERROR_H #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* NvError_t enumeration contains ALL return / error codes. Error codes are specifically explicit to make it easy to identify where an error came from. All error codes are derived from the macros in NvErrVal.h */ typedef enum _NvError_t { #ifdef NVERROR #undef NVERROR #endif /* NVERROR */ #define NVERROR(_name_, _value_, _desc_) _name_ = _value_, /* header included for macro expansion of error codes */ #include "nverrval.h" /* bogus error code used to padd the enum to 32bits */ NvErrorMax = 0x7FFFFFFF #undef NVERROR } NvError; #ifdef __cplusplus } #endif #endif /* NVERROR_H */