Share via


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

Sets the handle of the asynchronous operation.

Syntax

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

AsyncBase Class