EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

PxeDhcpv6AppendOption function

Appends a DHCPv6 option to the reply packet.

Syntax


DWORD PXEAPI PxeDhcpv6AppendOption(
  _Inout_ PVOID  pReply,
  _In_    ULONG  cbReply,
  _Inout_ PULONG pcbReplyUsed,
  _In_    WORD   wOptionType,
  _In_    WORD   cbOption,
  _In_    PVOID  pOption
);

Parameters

pReply [in, out]

Pointer to a reply packet allocated with the PxePacketAllocate function.

cbReply [in]

The total size in bytes allocated for the buffer that is pointed to by pReply.

pcbReplyUsed [in, out]

On entry, this is the number of bytes of the buffer pointed to by pReply that are currently used. On success of the function, this is updated to the number of bytes used after appending the option.

wOptionType [in]

DHCPv6 option to add to the packet.

cbOption [in]

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

pOption [in]

Address of the buffer that contains the DHCPv6 option value.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

WdsPxe.h

Library

WdsPxe.lib

DLL

WdsPxe.dll

See also

Windows Deployment Services Server Functions
PxePacketAllocate

 

 

커뮤니티 추가 항목

추가
표시:
© 2015 Microsoft