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.

Requirements

Header: async.h

Namespace: Microsoft::WRL

Show: