BOOL WriteClient( LPVOID lpvBuffer, LPDWORD lpdwBytes, DWORD dwReserved = 0 );
Return Value
Nonzero if successful, otherwise 0. If the call fails, the Windows function GetLastError may be called to determine the cause of the error.
Parameters
lpvBuffer
Pointer to the buffer where the data is to be written.
lpdwBytes
Pointer to a DWORD that holds the number of characters to write from the buffer referenced by Buffer.
dwReserved
Reserved for future use.
Remarks
Call this member function to send information to the HTTP client immediately. For example, use WriteClient to send an error message.
CHttpServerContext Overview | Class Members | Hierarchy Chart
See Also CHttpServerContext::ReadClient