PxeDhcpAppendOptionRaw function

Appends a DHCP option to the reply packet.

Syntax


DWORD PXEAPI PxeDhcpAppendOption(
  _Inout_  PVOID pReplyPacket,
  _In_     ULONG uMaxReplyPacketLen,
  _Inout_  PULONG puReplyPacketLen,
  _In_     USHORT uBufferLen,
  _In_     PVOID pBuffer
);

Parameters

pReplyPacket [in, out]

Pointer to a reply packet allocated with the PxePacketAllocate function.

uMaxReplyPacketLen [in]

Allocated length of the packet pointed to by the pReplyPacket parameter.

puReplyPacketLen [in, out]

Address of a ULONG that on successful completion will receive the length of the packet pointed to by the pReplyPacket parameter.

uBufferLen [in]

Length of the option value pointed to by the pBuffer parameter.

pBuffer [in]

Address of the buffer that contains the DHCP option value.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]

Header

WdsPxe.h

Library

WdsPxe.lib

DLL

WdsPxe.dll

See also

Windows Deployment Services Server Functions
PxePacketAllocate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft