WDFindInformationElement

C Specification

#include <revolution/wd/WDScan.h>
BOOL WDFindInformationElement( u8** bufPtr,
                               s32* length,
                               const WDBssDesc* bssDesc,
                               WDElementID elementID );

Description

Searches the BSS information for a particular element's information.

Arguments

bufPtr Specifies a pointer to the variable that will store the head pointer of the element information that was found.

Note: The alignment of the head pointer is undefined. If accessing as a variable comprising multiple bytes, care must be taken by temporarily copying to a buffer with guaranteed alignment or other measures.

length Specifies a pointer to the variable that will store the size (in bytes) of the element information that was found.
bssDesc Sets the pointer to the start of the BSS information of the WDBssDesc type to check.
elementID Specifies the element ID of the WDElementID enumerated type to identify the element to search for.

Return Values

TRUE Element information was found.
FALSE Element information was not found.
A NULL pointer will be stored in the variable specified in bufPtr, and 0 in length.

See Also

WDScanOnce
WDFindWifiProtectedAccess
WDFindGameInfo
WDBssDesc
WDElementID

Revision History

2006/11/09 Initial version.
2006/12/12 Added description.


CONFIDENTIAL