User's Manual
Programming—Chapter 7
265700 Series Color Mobile Computer User’s Manual
GetMac()
Call this function to get the MAC address of the 802.11b radio.
Syntax
UINT GetMac( TCHAR * );
Parameters
Pointer to a character array, which is populated with the MAC address af-
ter a successful call.
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 formatted MAC address of the adapter, as follows:
xx-xx-xx-xx-xx-xx
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetMac)(TCHAR *);
#else
UINT GetMac(TCHAR *);
#endif
Note: Call RadioConnect() before calling this function for this function to
work properly.