Stopsupplicant(), Isdhcpenabled(), Renewdhcp() – Intermec 700 User Manual

Page 310

Advertising
background image

Programming

Chapter

7

286

700 Series Color Mobile Computer User’s Manual

StopSupplicant()

Call this function to stop the supplicant service.

Syntax

UINT StopSupplicant( );

Parameters

None.

Return Values

ERROR_SUCCESS when successful.

Remarks

None.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_StopSupplicant)();
#else
UINT StopSupplicant();
#endif

isDHCPEnabled()

Call this function 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

RenewDHCP()

Call this function to force a DHCP renewal on the current network adap-
ter.

Syntax

UINT RenewDHCP( );

Parameters

None.

Return Values

ERROR_SUCCESS when successful.

Remarks

You should not have to call this function on Microsoft PocketPC 2003 or Microsoft Windows CE
4.2 .NET and later devices.

Definitions

#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_RenewDHCP)();
#else
UINT RenewDHCP();
#endif

Advertising