AsyncBase::PutOnComplete Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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.

STDMETHOD(  
   PutOnComplete  
)(TComplete* completeHandler);  

Parameters

completeHandler
The address to which the completion event handler is set.

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Header: async.h

Namespace: Microsoft::WRL

AsyncBase Class

Show: