Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the error code for the current asynchronous operation.
STDMETHOD(
get_ErrorCode
)(HRESULT* errorCode) override;
Parameters
- errorCode
The location where the current error code is stored.
Return Value
S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL if the current asynchronous operation is closed.
Requirements
Header: async.h
Namespace: Microsoft::WRL