Chapter 3 — Configuring the Computer

 

 

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

 

GetCurrentDriverName()

Call this function to populate the TCHAR array with the driver name.

Syntax

UINT GetCurrentDriverName( TCHAR * );

Parameters

Pointer to a TCHAR array which contains the name of the driver when

 

successful.

Return Values

ERROR_SUCCESS when successful.

 

 

Remarks

This function is called with a pointer to a TCHAR array that is large

 

enough to hold the name of the driver PLUS the null terminator.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetCurrentDriverName)(TCHAR *);

 

#else

 

UINT GetCurrentDriverName(TCHAR *);

 

#endif

isDHCPEnabled()

Call this to determine whether DHCP is enabled on the current adapter.

Syntax

UINT isDHCPEnabled( );

Parameters

None.

Return Values

TRUE if DHCP is enabled, FALSE if it is not.

 

 

Remarks

None.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_isDHCPEnabled)();

 

#else

 

UINT isDHCPEnabled();

 

#endif

751G Color Mobile Computer User’s Manual

93

Page 107
Image 107
Intermec 751G user manual EnableZeroConfig, GetCurrentDriverName, IsDHCPEnabled