IInternetProtocol::ReadIInternetProtocol::Read*
*Contents  *Index  *Topic Contents
*Previous Topic: IInternetProtocol::LockRequest
*Next Topic: IInternetProtocol::Seek

IInternetProtocol::Read

HRESULT Read(
    [out] LPVOID pv,
    [in] ULONG cb,
    [out] ULONG *pcbRead
);

Reads data retrieved by the pluggable protocol handler.

pv
Address of the buffer where the information will be stored.
cb
ULONG value that indicates the size of the buffer.
pcbRead
Address of a ULONG value that indicates the amount of data stored in the buffer.

Developers who are implementing an asynchronous pluggable protocol must be prepared to have their implementation of IInternetProtocol::Read continue to be called a few extra times after it has returned S_FALSE.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.