Share via


AsyncBase::put_Id Method

Sets the handle of the asynchronous operation.

STDMETHOD(
   put_Id
)(const unsigned int id);

Parameters

  • id
    A nonzero handle.

Return Value

S_OK if successful; otherwise, E_INVALIDARG or E_ILLEGAL_METHOD_CALL.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

Reference

AsyncBase Class