

#include <nitro/wm.h>
static inline BOOL WM_IsValidGameInfo( const WMGameInfo* gameInfo, u16 gameInfoLength );
| gameInfo | Specifies a pointer to the WMGameInfo structure.
|
| gameInfoLength | Specifies the length of the WMGameInfo structure.
|
Returns TRUE if the WMGameInfo structure is valid.
Checks if the WMGameInfo structure in the beacon information, obtained using the WM_StartScan or WM_StartScanEx function, has valid values. Internally, a check is made that gameInfoLength is sufficient in size, and that gameInfo->magicNumber is equal to WM_GAMEINFO_MAGIC_NUMBER.
WM_IsValidGameBeacon, WM_StartScan, WM_StartScanEx
2006/02/20 Initial version.
CONFIDENTIAL