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

Starts the asynchronous operation.

STDMETHOD(  
   Start  
)(void);  

S_OK if the operation starts or is already started; otherwise, E_ILLEGAL_STATE_CHANGE.

Start() is a default implementation of IAsyncInfo::Start, and does no actual work. To actually start an asynchronous operation, override the OnStart() pure virtual method.

Header: async.h

Namespace: Microsoft::WRL

AsyncBase Class

Show: