User's Manual

ProgrammingChapter 7
280 700 Series Color Mobile Computer U ser’s Manual
SetNetworkMode()
Call this function to set the desired Network Mode.
Syntax
UINT SetNetworkMode( ULONG );
Parameters
NDIS_NET_MODE_IBSS 802.11 Ad-Hoc Mode.
NDIS_NET_MODE_ESS 802.11 Infrastructure Mode.
NDIS_NET_MODE_UNKNOWN Anything Else/Unknown Error
NDIS_NET_AUTO_UNKNOWN Automatic Selection. Useofthisoptionisnot
supported or recommended.
NDIS_NET_TYPE_OFDM_5G 5 Gigahertz 54 Mbps
NDIS_NET_TYPE_OFDM_2_4G 802.11g 2.4 Gigahe rtz
Return Values
ERROR_SUCCESS when successful,
ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
Remarks
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetNetworkMode)(ULONG);
#else
UINT SetNetworkMode(ULONG);
#endif