#include <nitro/wvr.h>
typedef enum WVRResult
{
WVR_RESULT_SUCCESS = 0 ,
WVR_RESULT_OPERATING = 1 ,
WVR_RESULT_DISABLE = 2 ,
WVR_RESULT_INVALID_PARAM = 3 ,
WVR_RESULT_FIFO_ERROR = 4 ,
WVR_RESULT_ILLEGAL_STATUS = 5 ,
WVR_RESULT_VRAM_LOCKED = 6 ,
WVR_RESULT_FATAL_ERROR = 7
} WVRResult;
WVR_RESULT_SUCCESS | Indicates that the process completed normally. |
WVR_RESULT_OPERATING | Indicates that an asynchronous process has begun normally. |
WVR_RESULT_DISABLE | Indicates that the ARM7-side component is not supported in the WVR library. |
WVR_RESULT_INVALID_PARAM | Indicates that the parameter assigned to the function is an invalid value. |
WVR_RESULT_FIFO_ERROR | Indicates that there was a communications failure via the FIFO with ARM7. |
WVR_RESULT_ILLEGAL_STATUS | Indicates that the process could not be executed due to the internal state of the WVR. This element is generated either when an asynchronous function is called before its callback, or when the wireless library operations start or stop processes overlap. |
WVR_RESULT_VRAM_LOCKED | Indicates that the process could not be executed because the VRAM bank is being allocated for other applications via another library (GX). |
WVR_RESULT_FATAL_ERROR | Indicates that the process has failed due to some unforeseen reason that does not normally occur. When this error is generated, the cause is generally thought to be due to damage outside the memory that the library uses. |
This is an enumerated type that shows the results of the shared process in the WVR function. This is shared with the result
argument that is passed to the callback function of the asynchronous process function.
02/16/2005 Initial version