Share via


AsyncBase::GetOnComplete 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::GetOnComplete Method.

Copies the address of the current completion event handler to the specified variable.

Syntax

STDMETHOD(  
   GetOnComplete  
)(TComplete** completeHandler);  

Parameters

completeHandler
The location where the address of the current completion event handler is stored.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class