Share via


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.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

Reference

AsyncBase Class