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.
Cancels an asynchronous operation.
STDMETHOD(
Cancel
)(void);
Return Value
By default, always returns S_OK.
Remarks
Cancel() is a default implementation of IAsyncInfo::Cancel, and does no actual work. To actually cancel an asynchronous operation, override the OnCancel() pure virtual method.
Requirements
Header: async.h
Namespace: Microsoft::WRL