PxeSendReply function (wdspxe.h)

Sends a packet to a client request.

Syntax

DWORD PXEAPI PxeSendReply(
  [in] HANDLE      hClientRequest,
  [in] PVOID       pPacket,
  [in] ULONG       uPacketLen,
  [in] PXE_ADDRESS *pAddress
);

Parameters

[in] hClientRequest

Handle to the client request received in the PxeProviderRecvRequest callback.

[in] pPacket

Pointer to packet allocated by the PxePacketAllocate function.

[in] uPacketLen

Length of the packet pointed to by the pPacket parameter.

[in] pAddress

Pointer to a PXE_ADDRESS structure that contains the destination address of the packet. If the pAddress parameter is NULL, then the packet is sent to the source address of the client request.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP2 [desktop apps only]
Target Platform Windows
Header wdspxe.h
Library WdsPxe.lib
DLL WdsPxe.dll

See also

PXE_ADDRESS

PxePacketAllocate

PxeProviderRecvRequest

Windows Deployment Services Server Functions