The OnResponseDataAvailable event occurs when data is available from the response.
void OnResponseDataAvailable( [in] SAFEARRAY(unsigned char) *Data );
A zero-based array of bytes that receives the response data received by Microsoft Windows HTTP Services (WinHTTP) up to the point that this event occurs. This is a VARIANT of type VT_ARRAY | VT_UI1.
This event does not return a value.
Because data is in bytes, it must be converted to wide characters when placed in a wide character (Unicode) string.
For Windows XP and Windows 2000, see the Run-Time Requirements section of the WinHTTP Start Page.
|Minimum supported client
||Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
|Minimum supported server
||Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
||WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000.