Chapter 3 — Configuring the Computer

GetNetworkType()

Call this function to get the current network type of the radio. Do not confuse this with GetNetworkMode().

Syntax

UINT GetNetworkType( ULONG & );

Parameters

NDIS_NET_TYPE_FH

Indicates this is a frequency hopping radio.

 

NDIS_NET_TYPE_DS

Indicates that this is a direct sequence radio.

 

 

 

 

NDIS_NET_TYPE_UNDEFINED

Indicates this radio type is unknown or undefined.

 

 

 

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

If ERROR_SUCCESS is returned, your ULONG reference is populated with one of the parameters

 

listed above.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetNetworkType)(ULONG &);

 

#else

 

UINT GetNetworkType(ULONG &);

 

#endif

GetSSID()

Call this function to get the desired SSID of the 802.11b/g radio. Call

RadioConnect() before calling this function for this function to work properly.

Syntax

UINT GetSSID( TCHAR * );

Parameters

Pointer to a character array, which is populated with the current SSID

 

when successful.

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

If ERROR_SUCCESS is returned, your TCHAR array is populated with

 

the desired SSID.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetSSID)(TCHAR *);

 

#else

 

UINT GetSSID(TCHAR *);

 

#endif

751G Color Mobile Computer User’s Manual

83

Page 97
Image 97
Intermec 751G user manual GetSSID, Uint GetNetworkType Ulong