Windows Dev Center

PxePacketAllocate function

Allocates a packet to be sent with the PxeSendReply function.

Syntax


PVOID PXEAPI PxePacketAllocate(
  _In_ HANDLE hProvider,
  _In_ HANDLE hClientRequest,
  _In_ ULONG  uSize
);

Parameters

hProvider [in]

HANDLE passed to the PxeProviderInitialize function.

hClientRequest [in]

Handle to the client request received in the PxeProviderRecvRequest callback.

uSize [in]

Size of the buffer to be allocated.

Return value

Address of allocated buffer, or NULL if the allocation failed. For extended error information, use the GetLastError function.

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
PxePacketFree
PxeProviderInitialize
PxeProviderRecvRequest
PxeSendReply

 

 

Community Additions

ADD
Show:
© 2015 Microsoft