#include <revolution/mp.h>
typedef struct MPCallbackInfo
{
s32 type;
s32 result;
u32 port;
void *userData;
...
} MPCallbackInfo;
MPCallbackInfo is a structure that is passed as an argument to the callback function. Its size is 64 bytes.
| Member | Description |
|---|---|
| type | Stores the type of factor that generated the callback function. |
| result | Stores the result value of the factor that generated the callback function. |
| port | Stores the port number if the factor that generated the callback function is different for each port. |
| userData | Stores the pointer to user data set to the argument when the asynchronous function is called. |
MPSendAsync(), MPUpdateBeaconAsync(), MPCallback, MPPortCallback
2007/11/28 Added to the See Also section.
2007/10/03 Initial version.
CONFIDENTIAL