Getradioipaddress(), Getccxstatus() – Intermec 751G User Manual

Page 100

Advertising
background image

Chapter 3 — Configuring the Computer

86

751G Color Mobile Computer User’s Manual

GetRadioIpAddress()

Call this function to obtain a formatted string indicating whether DHCP is
enabled, and what is the current adapters IP address.

GetCCXStatus()

Call this to get information about the current CCX status of the adapter.

Syntax

UINT GetRadioIpAddress( TCHAR * );

Parameters

Pointer to a character array that contains the formatted string of the IP
address and static/DHCP information.

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 contains a string
formatted as follows:

IP: DHCP Enabled\nxxx.xxx.xxx.xxx\n

or

I

P: DHCP Disabled\nxxx.xxx.xxx.xxx\n

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetRadioIpAddress)(TCHAR *);
#else
UINT GetRadioIpAddress(TCHAR *);
#endif

Syntax

UINT GetCCXStatus( ULONG & );

Parameters

NDIS_NETWORK_EAP_MODE_OFF Disable EAP mode.

NDIS_NETWORK_EAP_MODE_ON

Enable EAP mode.

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 parameters listed
above.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetCCXStatus)(ULONG &);
#else
UINT GetCCXStatus(ULONG &);
#endif

Advertising