MB_SetSendVolatCallback

C Specification

#include <nitro/mb/mb_gameinfo.h>
void MB_SetSendVolatCallback( MBSendVolatCallbackFunc callback, u32 timming );

Arguments

callback Configures the callback function called when sending the MBGameInfoVolatile inside the parent device game information with a beacon.
timming Configures the timing called by the callback function.
MB_SEND_VOLAT_CALLBACK_TIMMING_BEFORE The callback is called immediately before the send configuration of the beacon stored in MBGameInfoVolatile.
MB_SEND_VOLAT_CALLBACK_TIMMING_AFTER The callback is called immediately after the send configuration of the beacon stored in MBGameInfoVolatile.

Return Values

None.

Description

This function can configure the callback when sending the volatile MBGameInfoVolatile from within the MB parent device game information by a beacon. The user data configured with MB_SetUserVolatData is also included here, and the next data to be sent can be configured by calling MB_SetUserVolatData in this callback.

/*  callback  function  */
typedef void (*MBSendVolatCallbackFunc)( u32 ggid );
/*  callback  timing  */
enum
{
MB_SEND_VOLAT_CALLBACK_TIMMING_BEFORE,
MB_SEND_VOLAT_CALLBACK_TIMMING_AFTER
};

See Also

MB_SetUserVolatData, MBGameInfo

Revision History

01/18/2005 Initial version.