#include <nitro/mb.h>
typedef void (*MBCommPStateCallback)(u16 child_aid, u32 status, void* arg);
Defines the format of the callback function, which is called every time the parent state changes.
child_aid |
When a callback is a notification for one specific child, shows the aid of that child.
Specify this value and call the MB_CommGetChildUser function to get the details regarding a specific child. |
status |
Indicates the state shown in MBCommPState. |
arg |
The variable corresponding to the state to be notified is passed.
For details on each status, see the description of MBCommPState. |
MBCommPState,
MB_CommGetChildUser,
MB_CommSetParentStateCallback,
MB_CommGetParentState
09/10/2004 Added description regarding the expansion of the argument arg
08/09/2004 Initial version