IAppVisibility::Unadvise method (shobjidl_core.h)

Cancels a connection that was previously established by using Advise.

Syntax

HRESULT Unadvise(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

A token that uniquely identifies the connection to cancel, which is provided by a previous call to the Advise method.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IAppVisibility

IAppVisibilityEvents