/*---------------------------------------------------------------------------* Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifndef NN_AOC_ERRORS_H_ #define NN_AOC_ERRORS_H_ #include #ifdef __cplusplus extern "C" { #endif /*! @addtogroup nn_aoc_api @{ */ /*! @brief Status codes for indicating the results of running the AOC functions. */ typedef enum{ AOC_STATUS_OK = 0, //!< Indicates that the process ended normally. AOC_STATUS_INVALID_PARAM = -1, //!< Indicates that there is an invalid parameter. AOC_STATUS_NOT_INITIALIZED = -2, //!< Not initialized. AOC_STATUS_ALREADY_INITIALIZED = -3, //!< Already initialized. AOC_STATUS_TITLE_STILL_OPENED = -4, //!< One or more titles are still open. AOC_STATUS_NOT_OPENED = -8, //!< Not opened. AOC_STATUS_ALREADY_OPENED = -9, //!< Already opened. AOC_STATUS_CLOSE_FAILURE = -10, //!< Failed to close. AOC_STATUS_EXCEED_LIMIT = -11, //!< Reached the upper limit on the number of titles that can be opened. AOC_STATUS_NOT_FOUND_TITLE = -16, //!< Indicates that the downloadable content title does not exist. AOC_STATUS_NOT_FOUND_CONTENT = -17, //!< Indicates that the downloadable content does not exist. AOC_STATUS_ACCESS_DENIED = -18, //!< Indicates that access to the downloadable content title is not permitted. /* The following errors do not normally occur. Get the error code using the AOC_GetErrorCode function and display it in the error viewer. */ AOC_STATUS_ALREADY_LOCKED = -768, //!< The title is locked. AOC_STATUS_NOT_LOCKED = -769, //!< The title is not yet locked. AOC_STATUS_INTERNAL_ERROR = -1024, //!< Indicates that an internal error occurred. This error is also returned when use of AOC is not declared in the Application Configuration Tool. } AOCStatus; /*! @} */ #ifdef __cplusplus } #endif #endif // NN_AOC_ERRORS_H_