/* 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. */ /* * File: GFGxError.h * GFSDK Gx Graphics API header file. */ #ifndef __GFGXERROR_H__ #define __GFGXERROR_H__ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /** GFGxAPI error code: Bad parameter. */ #define GFGX_ERROR_ILLEGAL_PARAMETER (GFGX_ERROR | 0x00000001L) #define GFGX_ERROR_NULL_SURFACE (GFGX_ERROR | 0x00000002L) /** GFGxAPI error code: Color depth not supported. */ #define GFGX_ERROR_COLORDEPTH_NOT_SUPPORTED (GFGX_ERROR | 0x00000003L) #define GFGX_ERROR_ILLEGAL_ALPHA_MODE (GFGX_ERROR | 0x00000004L) #define GFGX_ERROR_ILLEGAL_ROTATION_FLAG (GFGX_ERROR | 0x00000005L) #define GFGX_ERROR_GETTING_COMPONENT (GFGX_ERROR | 0x00000006L) #define GFGX_ERROR_NO_PRIMARY_SURFACE (GFGX_ERROR | 0x00000007L) #define GFGX_ERROR_NO_COLORCONVERT_SUPPORT (GFGX_ERROR | 0x00000008L) #define GFGX_ERROR_NULL_PARAMETER (GFGX_ERROR | 0x00000009L) /** GFGxAPI error code: Function not supported. */ #define GFGX_ERROR_NOT_SUPPORTED (GFGX_ERROR | 0x0000000AL) #ifdef __cplusplus } #endif #endif // __GFGXERROR_H__