Partager via


EbootGetDHCPAddr (Compact 2013)

10/16/2014

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

oal.lib

See Also

Reference

Boot Loader Ethernet Controller Functions
EDBG_ADDR