CHttpFilterContext::WriteClient

BOOL WriteClient( LPVOID lpvBuffer, LPDWORD lpdwBytes, DWORD dwReserved = 0 );

Return Value

Nonzero if successful, otherwise 0. If 0, use the Windows function GetLastError to determine the cause of the error.

Parameters

lpvBuffer

A pointer to the buffer containing the data.

lpdwBytes

A pointer to a DWORD containing the number of bytes to write from the buffer.

dwReserved

Reserved for future use. Must be 0.

Remarks

Call this member function to send raw data back to the client immediately.

CHttpFilterContext OverviewClass MembersHierarchy Chart

See Also   HTTP_FILTER_CONTEXT, CHttpServerContext::WriteClient