AsyncBase::PutOnProgress Method

 

The latest version of this topic can be found at AsyncBase::PutOnProgress Method.

Sets the address of the progress event handler to the specified value.

Syntax

STDMETHOD(  
   PutOnProgress  
)(TProgress* progressHandler);  

Parameters

progressHandler
The address to which the progress event handler is set.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class