User's Manual

ProgrammingChapter 7
260 700 Series Color Mobile Computer U ser’s Manual
Query Information Functions
GetAssociationStatus()
Call this function to obtain the radio’s current association status with a
service set.
Syntax
UINT GetAssociationStatus( ULONG & );
Parameters
NDIS_RADIO_ASSOCIATED Indicates the radio is associated with an access point
NDIS_RADIO_SCANNING Indicates the radio is looking for an access point
with which to associate
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 the function returns ERROR_SUCCESS. Also, if
ERROR_SUCCESS is returned, your ULONG reference is populated by
one of the parameters listed above.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetAssociationStatus)(ULONG &);
#else
UINT GetAssociationStatus(ULONG &);
#endif