Partager via


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

Retrieves the error code for the current asynchronous operation.

Syntax

inline void ErrorCode(  
   HRESULT *error  
);  

Parameters

error
The location where this operation stores the current error code.

Remarks

This operation is thread-safe.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class