Share via


EbootGetDHCPAddr (Windows Embedded CE 6.0)

1/5/2010

This function obtains an IP address from the Dynamic Host Configuration Protocol (DHCP) server.

Syntax

BOOL EbootGetDHCPAddr(
  EDBG_ADDR* pEdbgAddr,
  DWORD* pdwSubnetMask,
  EDBG_ADDR* pdwDHCPLeaseTime
);

Parameters

  • pEdbgAddr
    [in] Pointer to an EDBG_ADDR structure.

    The dwIP address field is filled out based on the allocation from the DHCP server.

  • pdwSubnetMask
    [in] Subnet mask.
  • pdwDHCPLeaseTime
    [in] DHCP lease time.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header halether.h
Library hal.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Boot Loader Ethernet Controller Functions
EDBG_ADDR

Other Resources