IMetroMode::Unadvise method

Applies to: desktop apps only

Cancels a connection that was previously established by using Advise.

Syntax

HRESULT Unadvise(
  [in]  DWORD dwCookie
);

Parameters

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

Return value

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

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IMetroMode

 

 

Send comments about this topic to Microsoft

Build date: 7/3/2012