CBindStatusCallback Members
IBindStatusCallback Methods
Called by the asynchronous moniker to request information on the type of bind to be created. |
|
Called by the asynchronous moniker to get the priority of the bind operation. The ATL implementation returns E_NOTIMPL. |
|
Called when resources are low. The ATL implementation returns S_OK. |
|
Called by the asynchronous moniker to pass an object interface pointer to your application. The ATL implementation returns S_OK. |
|
Called to indicate the progress of a data downloading process. The ATL implementation returns S_OK. |
|
Called when binding is started. |
|
Called when the asynchronous data transfer is stopped. |
Class Methods
The constructor. |
|
The destructor. |
|
Starts the download process, creates a CBindStatusCallback object, and calls StartAsyncDownload. |
|
Called to provide data to your application as it becomes available. Reads the data, then calls the function passed to it to use the data. |
|
Initializes the bytes available and bytes read to zero, creates a push-type stream object from a URL, and calls OnDataAvailable every time data is available. |
Data Members
Number of bytes available to read. |
|
Total number of bytes read. |
|
Pointer to the function called when data is available. |
|
Pointer to the object requesting the asynchronous data transfer. |
|
Pointer to the IBindCtx interface for the current bind operation. |
|
Pointer to the IBinding interface for the current bind operation. |
|
Pointer to the IMoniker interface for the URL to use. |
|
Pointer to the IStream interface for the data transfer. |
Static Functions
Creates a CBindStatusCallback object and calls StartAsyncDownload to start downloading data asynchronously from the specified URL. |