Cancels an event request.
Syntax
HRESULT Unadvise( DWORD dwCookie );
Parameters
- dwCookie
- [in] DWORD containing the cookie returned from an ITimer::Advise call.
Return Value
Returns S_OK if successful, or E_INVALIDARG if the event is unknown.