User's Manual

ProgrammingChapter 7
276 700 Series Color Mobile Computer U ser’s Manual
EnableWep()
Enables or disables WEP encryption on the radio (TRUE/FALSE).
Syntax
UINT EnableWep( BOOL );
Parameters
Set BOOL to TRUE to enable WEP encryption, or FALSE to disable
WEP encryption.
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
Call this function with TRUE as the parameter to enable WEP encryp-
tion. Call this function with the FALSE parameter to disable WEP encryp-
tion. This call is an alias for EncryptionStatus(). See the following:
EnableWEP(TRUE) =
EncryptionStatus(NDIS_ENCRYPTION_1_ENABLED)
EnableWEP(FALSE) =
EncryptionStatus(NDIS_ENCRYPTION_DISABLED)
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_EnableWep)(BOOL);
#else
UINT EnableWep(BOOL);
#endif