Compartilhar via


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

Retrieves the handle of the asynchronous operation.

Syntax

STDMETHOD(  
   get_Id  
)(unsigned int *id) override;  

Parameters

id
The location where the handle is to be stored.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Remarks

This method implements IAsyncInfo::get_Id.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class