Chapter 3 — Configuring the Computer

Helper Functions

ConfigureProfile()

If using the Intermec 802.11b/g Profile Management system, you can program the API to configure the radio to a specific profile by passing the profile name.

 

 

Syntax

UINT ConfigureProfile( TCHAR * );

 

 

Parameters

Pointer to a character array that contains the profile name. This should be

 

 

 

null-terminated.

 

 

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

Call this function with a pointer to a null-terminated TCHAR array that

 

 

 

contains the name of the profile you wish to configure. This function

 

 

 

reads profile data from the profile manager, sets that profile as the default

 

 

 

active profile, and configures the radio appropriately. If needed, the

 

 

 

supplicant and any other related services are automatically started and

 

 

 

stopped.

 

 

Definitions

#ifdef DYNAMIC_LOADING

 

 

 

typedef UINT (*PFN_ConfigureProfile)(TCHAR *);

 

 

 

#else

 

 

 

UINT ConfigureProfile(TCHAR *);

 

 

 

#endif

 

 

EnableSuppLogging()

 

 

Call this function to set the desired supplicant logging mode.

 

 

 

Syntax

UINT EnableSuppLogging( ULONG );

Parameters

NDIS_SUPP_LOGGING_ON

Supplicant Logging Enabled

 

 

NDIS_SUPP_LOGGING_OFF

Supplicant Logging Disabled

 

 

 

 

Return Values

ERROR_SUCCESS when successful.

 

Remarks

None.

 

 

 

Definitions #ifdef DYNAMIC_LOADING

typedef UINT (*PFN_EnableSuppLogging)(ULONG); #else

UINT EnableSuppLogging(ULONG); #endif

92

751G Color Mobile Computer User’s Manual

Page 106
Image 106
Intermec 751G user manual Helper Functions, Uint ConfigureProfile Tchar, Uint EnableSuppLogging Ulong