Enablezeroconfig(), Iszeroconfigenabled(), Isorinoco() – Intermec 700 User Manual

Page 308

Advertising
background image

Programming

Chapter

7

284

700 Series Color Mobile Computer User’s Manual

EnableZeroConfig()

This enables or disables the Wireless Zero Configuration Wizard from
Microsoft. After calling this function, a warm-boot is required for the
change to take effect.

Note: Enabling this function effectively disables all the SET commands in
this API.

Syntax

UINT EnableZeroConfig( USHORT );

Parameters

TRUE

Enable Wireless Zero Config

FALSE

Disable Wireless Zero Config

Return Values

ERROR_SUCCESS when successful, ERR_ZERO_CONFIG_CHANGE_FAILED when the
query failed.

Remarks

Call this function to set the desired Zero Config status.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_EnableZeroConfig)(USHORT);
#else
UINT EnableZeroConfig(USHORT);
#endif

isZeroConfigEnabled()

Call this function to determine whether Zero Config is currently enabled.

Syntax

UINT isZeroConfigEnabled( );

Parameters

None.

Return Values

TRUE if ZeroConfig is enabled, and FALSE if it is disabled.

Remarks

None.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_isZeroConfigEnabled)();
#else
UINT isZeroConfigEnabled();
#endif

isOrinoco()

Call this function to determine whether the current radio is an
ORiNOCO, Lucent, or WaveLAN radio.

Syntax

UINT isOrinoco( );

Parameters

None.

Return Values

TRUE if this is an ORiNOCO radio, and FALSE if it is not.

Remarks

None.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_isOrinoco)();
#else
UINT isOrinoco();
#endif

Advertising