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.
Closes the asynchronous operation.
STDMETHOD(
Close
)(void) override;
Return Value
S_OK if the operation closes or is already closed; otherwise, E_ILLEGAL_STATE_CHANGE.
Remarks
Close() is a default implementation of IAsyncInfo::Close, and does no actual work. To actually close an asynchronous operation, override the OnClose() pure virtual method.
Requirements
Header: async.h
Namespace: Microsoft::WRL