Read method
Reads data that the pluggable protocol handler gets.
Syntax
HRESULT retVal = object.Read(pv, cb, pcbRead);
Parameters
pv [in, out]
Type: voidThe address of the buffer where the information will be stored.
cb [in]
Type: unsigned longA ULONG value that indicates the size of the buffer.
pcbRead [out]
Type: unsigned longThe address of a ULONG value that indicates the amount of data stored in the buffer.
Remarks
Developers who are implementing an asynchronous pluggable protocol must be prepared to have their implementation of IInternetProtocol::Read called a few times after it has returned S_FALSE.