Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop  |  Networking, Protocols & Data Formats

IInternetProtocol::Read Method


Reads data retrieved by the pluggable protocol handler.

Syntax

HRESULT Read(
    LPVOID pv,
    ULONG cb,
    ULONG *pcbRead
);

Parameters

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

Return Value

Returns one of the following values:

INET_E_DATA_NOT_AVAILABLE There is no more data available from the server, but more data was expected.
INET_E_DOWNLOAD_FAILURE The read failed.
E_PENDING The read operation is pending.
S_OK The read was successful, but there is still additional data available.
S_FALSE All of the data has been completely downloaded.

Remarks

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.

See Also

IInternetProtocol


Does this content meet your programming needs? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site