Share via


IProgressNotify (Compact 2013)

3/26/2014

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

See Also

Reference

COM Interfaces