Wln_get_info()

Description:

API procedure, returns library-specific information according to the requested information element.

Syntax:

function wln_get_info(info_element as wln_info_elements, byref extra_data as string) as string

Returns:

Requested data in string form

See Also:

About _get_info() API Functions


Parameter

Description

info_element

Information element being requested:

0- WLN_INFO_ELEMENT_REQUIRED_BUFFERS: total number of buffer pages required for the library to operate.

extra_data

When info_element= WLN_INFO_ELEMENT_REQUIRED_BUFFERS, set this argument to the desired security mode. This is necessary because the security mode affects the amount of required buffer space. Available security modes are defined by the pl_wln_security_modes enum (see security_mode argument of wln_start). Since the extra_data argument is of the string type, you have to convert the security mode into a string form, i.e. like this: str(WLN_SECURITY_MODE_WPA1).