PxePacketFree function (wdspxe.h)

Frees a packet allocated by the PxePacketAllocate function.

Syntax

DWORD PXEAPI PxePacketFree(
  [in] HANDLE hProvider,
  [in] HANDLE hClientRequest,
  [in] PVOID  pPacket
);

Parameters

[in] hProvider

HANDLE passed to the PxeProviderInitialize function.

[in] hClientRequest

Handle to the client request received in the PxeProviderRecvRequest callback.

[in] pPacket

Pointer to packet allocated by the PxePacketAllocate function.

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

PxePacketAllocate

PxeProviderInitialize

PxeProviderRecvRequest

Windows Deployment Services Server Functions