Funzione PxePacketAllocate (wdspxe.h)
Alloca un pacchetto da inviare con la funzione PxeSendReply .
Sintassi
PVOID PXEAPI PxePacketAllocate(
[in] HANDLE hProvider,
[in] HANDLE hClientRequest,
[in] ULONG uSize
);
Parametri
[in] hProvider
HANDLE passato alla funzione PxeProviderInitialize .
[in] hClientRequest
Gestire la richiesta client ricevuta nel callback PxeProviderRecvRequest .
[in] uSize
Dimensioni del buffer da allocare.
Valore restituito
Indirizzo del buffer allocato o NULL se l'allocazione non è riuscita. Per informazioni sull'errore estese, usare la funzione GetLastError .
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Nessuno supportato |
Server minimo supportato | Windows Server 2008, Windows Server 2003 con SP2 [solo app desktop] |
Piattaforma di destinazione | Windows |
Intestazione | wdspxe.h |
Libreria | WdsPxe.lib |
DLL | WdsPxe.dll |