HttpSendDataResponseNoCopy
Sends data to a client without copying the data to a local buffer.
#include <httpexp.h>
int HttpSendDataResponseNoCopy (
HINTERNET hRequest,
void *pBuffer,
UINT32 szBuffer);
If successful, returns 0. Otherwise, returns a nonzero error code.
The HttpSendDataResponseNoCopy function is similar to the HttpSendDataResponse function but it does not copy the user's data to the local buffer before transmitting it. Because the data is not copied to the local buffer, this function should only be used when large amounts of data (over 4096 bytes per call) are being sent.