MPSetEntryFlag

Syntax

#include <revolution/mp.h>
s32 MPSetEntryFlag ( BOOL entryFlag );

Arguments

entryFlag Returns TRUE if connection with a child device is permitted.

Return Values

Returns the processing results or a negative number if processing fails.

Description

Changes the connection permission settings. This function can be called after MPStartup() has run.

When set to FALSE, when a child attempts connection it is automatically disconnected internally. In addition, the connection permission flag included on the beacon is changed.

To reflect the value set in this function in the send beacon, you must call the MPUpdateBeacon function.

See Also

MPSetUserGameInfo(), MPUpdateBeacon(), MPUpdateBeaconAsync(), MPError,

Revision History

2007/09/26 Deleted unnecessary reference from 'See Also.'
2006/07/03 Initial version.


CONFIDENTIAL