/*---------------------------------------------------------------------------* 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. *---------------------------------------------------------------------------*/ // // Do not edit this file. // This file is automatically generated. // #ifndef NN_NFP_NFP_RESULT_H_ #define NN_NFP_NFP_RESULT_H_ #include #include #ifdef __cplusplus namespace nn { namespace nfp { //! @addtogroup nn_nfp_result //! @{ /*! @class nn::nfp::ResultInvalidUsage @brief An API function is not being used correctly. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultBufferIsSmall @li @ref nn::nfp::ResultInvalidArgument @li @ref nn::nfp::ResultInvalidPointer @li @ref nn::nfp::ResultInvalidAlignment */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidUsage, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_NFP, 12800, 12800, 25600 ); /*! @class nn::nfp::ResultBufferIsSmall @brief The specified buffer is too small. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultInvalidUsage */ NN_DEFINE_RESULT_CONST_RANGE( ResultBufferIsSmall, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_NFP, 12928, 12928, 14080 ); /*! @class nn::nfp::ResultInvalidArgument @brief Invalid argument. Revise the specified arguments. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultInvalidUsage Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultInvalidPointer @li @ref nn::nfp::ResultInvalidAlignment */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidArgument, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_NFP, 14080, 14080, 15360 ); /*! @class nn::nfp::ResultInvalidPointer @brief An invalid pointer was specified. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultInvalidUsage @li @ref nn::nfp::ResultInvalidArgument */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidPointer, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_NFP, 14208, 14208, 14336 ); /*! @class nn::nfp::ResultInvalidAlignment @brief Invalid alignment. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultInvalidUsage @li @ref nn::nfp::ResultInvalidArgument */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidAlignment, nn::Result::LEVEL_USAGE, nn::RESULT_MODULE_NN_NFP, 14336, 14336, 14464 ); /*! @class nn::nfp::ResultInvalidOperation @brief An invalid request was issued. Check the API function call order. If this error occurs even when called with the correct procedure, the Wii U console and the Wii U GamePad (DRC) might have different states. Try again from the beginning of the read/write sequence. */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidOperation, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 25600, 25600, 26880 ); /*! @class nn::nfp::ResultNeedRetry @brief If this error is returned, call the same API function again. The communication with the tag may be unstable. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultIsBusy @li @ref nn::nfp::ResultTimeOutError @li @ref nn::nfp::ResultConnectionError */ NN_DEFINE_RESULT_CONST_RANGE( ResultNeedRetry, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 38400, 38400, 51200 ); /*! @class nn::nfp::ResultIsBusy @brief Indicates that the system is busy and cannot currently receive commands. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultNeedRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultIsBusy, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 38528, 38528, 39040 ); /*! @class nn::nfp::ResultTimeOutError @brief Indicates a timeout error. There was no response from the Wii U GamePad (DRC) or the tag. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultNeedRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultTimeOutError, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 39040, 39040, 39552 ); /*! @class nn::nfp::ResultConnectionError @brief Indicates a connection error. Something might be preventing normal communication with the tag. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultNeedRetry */ NN_DEFINE_RESULT_CONST_RANGE( ResultConnectionError, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 39552, 39552, 40064 ); /*! @class nn::nfp::ResultNotSupported @brief The tag is not supported. Check that the tag is correct. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotSupported, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 51200, 51200, 57600 ); /*! @class nn::nfp::ResultNotFound @brief The process target was not found. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultTagNotFound @li @ref nn::nfp::ResultCharacterNotFound */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotFound, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 57600, 57600, 64000 ); /*! @class nn::nfp::ResultTagNotFound @brief Tag not found. The tag may have been removed from the reader or replaced during the process. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultNotFound */ NN_DEFINE_RESULT_CONST_RANGE( ResultTagNotFound, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 57728, 57728, 58240 ); /*! @class nn::nfp::ResultCharacterNotFound @brief No character with the specified ID was found. Check that the ID is correct. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultNotFound */ NN_DEFINE_RESULT_CONST_RANGE( ResultCharacterNotFound, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 58240, 58240, 58752 ); /*! @class nn::nfp::ResultNeedRestore @brief The tag content is corrupted. Call the @ref Restore function to use the existing backup data to restore the tag content. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNeedRestore, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 64000, 64000, 65280 ); /*! @class nn::nfp::ResultNeedFormat @brief The tag is corrupted. The tag content cannot be restored because there is no backup data. Prompt the user to initialize Cabinet. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNeedFormat, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 65280, 65280, 66560 ); /*! @class nn::nfp::ResultNeedCreate @brief The application area has not been created. Call the @ref CreateApplicationArea function to create the application area. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNeedCreate, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 66560, 66560, 67840 ); /*! @class nn::nfp::ResultNeedRegister @brief The common region has not been created. This must be registered in amiibo Settings. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNeedRegister, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 67840, 67840, 69120 ); /*! @class nn::nfp::ResultAlreadyCreated @brief The application area has already been created. */ NN_DEFINE_RESULT_CONST_RANGE( ResultAlreadyCreated, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 69120, 69120, 70400 ); /*! @class nn::nfp::ResultAccessIdMisMatch @brief Cannot access the application area because the specified Access ID does not match the ID written to the tag. */ NN_DEFINE_RESULT_CONST_RANGE( ResultAccessIdMisMatch, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 70400, 70400, 71680 ); /*! @class nn::nfp::ResultNotBroken @brief Tag data does not need to be restored because it is not corrupted. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotBroken, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 71680, 71680, 72960 ); /*! @class nn::nfp::ResultUidMisMatch @brief UID mismatch. */ NN_DEFINE_RESULT_CONST_RANGE( ResultUidMisMatch, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 72960, 72960, 74240 ); /*! @class nn::nfp::ResultInvalidFormatVersion @brief Unsupported format version. Notify the user that the application does not support this amiibo. */ NN_DEFINE_RESULT_CONST_RANGE( ResultInvalidFormatVersion, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 75520, 75520, 76800 ); /*! @class nn::nfp::ResultNoData @brief The data does not exist. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNoData, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 76800, 76800, 78080 ); /*! @class nn::nfp::ResultBackupError @brief Failed to access backup data. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultNoBackupFile @li @ref nn::nfp::ResultBackupOpenFailed @li @ref nn::nfp::ResultBackupReadFailed @li @ref nn::nfp::ResultBackupWriteFailed */ NN_DEFINE_RESULT_CONST_RANGE( ResultBackupError, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 230400, 230400, 243200 ); /*! @class nn::nfp::ResultNoBackupFile @brief This API function cannot be called because there is no backup file. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultBackupError */ NN_DEFINE_RESULT_CONST_RANGE( ResultNoBackupFile, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 230528, 230528, 231040 ); /*! @class nn::nfp::ResultBackupOpenFailed @brief Failed to open the backup file. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultBackupError */ NN_DEFINE_RESULT_CONST_RANGE( ResultBackupOpenFailed, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 231040, 231040, 231552 ); /*! @class nn::nfp::ResultBackupReadFailed @brief Failed to load backup file data. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultBackupError */ NN_DEFINE_RESULT_CONST_RANGE( ResultBackupReadFailed, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 231552, 231552, 232064 ); /*! @class nn::nfp::ResultBackupWriteFailed @brief Failed to write to the backup file. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultBackupError */ NN_DEFINE_RESULT_CONST_RANGE( ResultBackupWriteFailed, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 232064, 232064, 232576 ); /*! @class nn::nfp::ResultFailed @brief The process failed. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultOperationFailed @li @ref nn::nfp::ResultDataAccessFailed */ NN_DEFINE_RESULT_CONST_RANGE( ResultFailed, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 256000, 256000, 268800 ); /*! @class nn::nfp::ResultOperationFailed @brief The requested operation failed. Check that you are using the API function correctly. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultFailed */ NN_DEFINE_RESULT_CONST_RANGE( ResultOperationFailed, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 256128, 256128, 256640 ); /*! @class nn::nfp::ResultDataAccessFailed @brief Failed to access system data. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultFailed */ NN_DEFINE_RESULT_CONST_RANGE( ResultDataAccessFailed, nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_NFP, 256640, 256640, 257152 ); /*! @class nn::nfp::ResultNotImplemented @brief Not implemented. */ NN_DEFINE_RESULT_CONST_RANGE( ResultNotImplemented, nn::Result::LEVEL_STATUS, nn::RESULT_MODULE_NN_NFP, 364800, 364800, 364928 ); /*! @class nn::nfp::ResultFatalError @brief A fatal error has occurred. Handling this Result object catches all of the following Result objects. @li @ref nn::nfp::ResultUnexpected */ NN_DEFINE_RESULT_CONST_RANGE( ResultFatalError, nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_NFP, 371200, 371200, 383872 ); /*! @class nn::nfp::ResultUnexpected @brief Unexpected error. A fatal system error may have occurred. This result is subsumed by the following results and can be caught by handling any of them. @li @ref nn::nfp::ResultFatalError */ NN_DEFINE_RESULT_CONST_RANGE( ResultUnexpected, nn::Result::LEVEL_FATAL, nn::RESULT_MODULE_NN_NFP, 383744, 383744, 383872 ); //! @} } // namespace nfp } // namespace nn #endif // __cplusplus #endif // NN_NFP_NFP_RESULT_H_