User's Manual

ProgrammingChapter 7
273700 Series 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.
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
IP: DHCP Disabled\nxxx.xxx.xxx.xxx\n
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetRadioIpAddress)(TCHAR *);
#else
UINT GetRadioIpAddress(TCHAR *);
#endif