Partager via


IProgressNotify

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface enables applications and other objects to receive notifications of changes during a downloading operation.

When to Implement

You do not need to implement IProgressNotify. The downloading code implements this interface and the asynchronous storage implementation provides a connection point for dispatching notifications to it. An application can also register an IProgressNotify sink to receive progress notifications for individual streams.

When to Use

You do not need to call this interface. The Compound Files implementation uses IProgressNotify::OnProgress to control the blocking behavior of the asynchronous storage and to trigger additional byte range requests if applicable.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

IUnknown method Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IProgressNotify method Description

OnProgress

Receives status information about progress of download operation.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header objidl.h, objidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later