Terminates the advisory connection previously established with a call to the ISimpleConnectionPoint::Advise method.
Syntax
HRESULT Unadvise( DWORD dwCookie );
Parameters
- dwCookie
- [in] Address of an unsigned long integer value that specifies the token value created by a previous call to the ISimpleConnectionPoint::Advise method.
Return Value
Returns S_OK if successful, or an error code otherwise.