Intermec 751G 用户手册

下载
页码 156
Chapter 3 —  Configuring the Computer
751G Color Mobile Computer User’s Manual
93
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.
GetCurrentDriverName()
Call this function to populate the TCHAR array with the driver name.
isDHCPEnabled()
Call this to determine whether DHCP is enabled on the current adapter.
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
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
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