User's Manual
Programming—Chapter 7
261700 Series Color Mobile Computer User’s Manual
GetAuthenticationMode()
Call this function to obtain the radio’s current authentication mode.
Syntax
UINT GetAuthenticationMode( ULONG & );
Parameters
NDIS_RADIO_AUTH_MODE_OPEN 802.11b Open Authentication. In-
dicates that the radio is using an
open system.
NDIS_RADIO_AUTH_MODE_SHARED 802.11b Shared Authentication. In-
dicates that the radio is using a
shared key.
NDIS_RADIO_AUTH_MODE_AUTO Auto switch between Open/Shared.
Indicates automatic detection is
used when available.
NDIS_RADIO_AUTH_MODE_ERROR Defined as error value. Indicates the
authentication mode was not deter-
mined at this time or is unknown.
NDIS_RADIO_AUTH_MODE_WPA WPA Au th e ntication
NDIS_RADIO_AUTH_MODE_WPA_PSK WPA Preshared Key Authentication
NDIS_RADIO_AUTH_MODE_WPA_NONE WPA None
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
Data is only valid if ERROR_SUCCESS is returned. Also, if
ERROR_SUCCESS is returned, your USHORT ref erence is populated
with one of the parameters listed above.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetAuthenticationMode)(ULONG &);
#else
UINT GetAuthenticationMode(ULONG &);
#endif