IFrameworkInputPane::Unadvise method (shobjidl_core.h)

Unregisters an app's input pane handler object so that it no longer receives notifications.

Syntax

HRESULT Unadvise(
  [in] DWORD dwCookie
);

Parameters

[in] dwCookie

Type: DWORD

A cookie that identifies the handler. This value was obtained when you registered the handler through the Advise method.

Return value

Type: HRESULT

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

Requirements

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

See also

IFrameworkInputPane