WriteClient

The WriteClient callback function is called by an ISAPI filter to send data to the client.

BOOL WINAPI * WriteClient(

  PHTTP_FILTER_CONTEXT pfc,

  LPVOID buffer,

  LPDWORD lpdwBytes,

  DWORD dwReserved

);

 

Parameters
pfc
Points to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP transaction.
buffer
A buffer containing data to send to the client.
lpdwBytes
The size of the buffer pointed to by buffer.
dwReserved
Reserved for future use.
Remarks

If you are using IIS version 3.0 or later, and you attempt to send more than 16 KB of data over an SSL connection, IIS will automatically break your outgoing data into multiple chunks of 16 KB or smaller.