PXE_DHCP_MESSAGE structure (wdspxe.h)

The PXE_DHCP_MESSAGE structure can be used with the Windows Deployment Services PXE Server API.

Syntax

typedef struct tagPXE_DHCP_MESSAGE {
  BYTE            Operation;
  BYTE            HardwareAddressType;
  BYTE            HardwareAddressLength;
  BYTE            HopCount;
  DWORD           TransactionID;
  WORD            SecondsSinceBoot;
  WORD            Reserved;
  ULONG           ClientIpAddress;
  ULONG           YourIpAddress;
  ULONG           BootstrapServerAddress;
  ULONG           RelayAgentIpAddress;
  BYTE            HardwareAddress[PXE_DHCP_HWAADR_SIZE];
  BYTE            HostName[PXE_DHCP_SERVER_SIZE];
  BYTE            BootFileName[PXE_DHCP_FILE_SIZE];
  union {
    BYTE  bMagicCookie[PXE_DHCP_MAGIC_COOKIE_SIZE];
    ULONG uMagicCookie;
  };
  PXE_DHCP_OPTION Option;
} PXE_DHCP_MESSAGE, *PPXE_DHCP_MESSAGE;

Members

Operation

Operation (op) field

HardwareAddressType

Hardware Address Type (htype) field

HardwareAddressLength

Hardware Address Length (hlen) field

HopCount

TransactionID

SecondsSinceBoot

Seconds Since Boot (secs) field

Reserved

This parameter is reserved.

ClientIpAddress

Client IP Address (ciaddr) field

YourIpAddress

BootstrapServerAddress

RelayAgentIpAddress

HardwareAddress[PXE_DHCP_HWAADR_SIZE]

HostName[PXE_DHCP_SERVER_SIZE]

BootFileName[PXE_DHCP_FILE_SIZE]

bMagicCookie[PXE_DHCP_MAGIC_COOKIE_SIZE]

uMagicCookie

Option

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Header wdspxe.h