WM_IsValidGameInfo

C Specification

#include <nitro/wm.h>

static inline BOOL WM_IsValidGameInfo( const WMGameInfo* gameInfo, u16 gameInfoLength );

Arguments

gameInfo Specifies a pointer to the WMGameInfo structure.
gameInfoLength Specifies the length of teh WMGameInfo structure.

Return Values

Returns TRUE if the WMGameInfo structure is enabled.

Description

Checks if the WMGameInfo structure inside the beacon information obtained using WM_StartScan or WM_StartScanEx has a valid value. Internally, a check is made that gameInfoLength is sufficient in size, and that gameInfo->magicNumber is equal to WM_GAMEINFO_MAGIC_NUMBER.

See Also

WM_IsValidGameBeacon, WM_StartScan, WM_StartScanEx

Revision History

02/20/2006 Initial version.

CONFIDENTIAL