Compartilhar via


AsyncBase::PutOnComplete Method

 

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

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

Syntax

STDMETHOD(  
   PutOnComplete  
)(TComplete* completeHandler);  

Parameters

completeHandler
The address to which the completion 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