Share via


IShellNotificationCallback::OnCommandSelected

The OnCommandSelected callback method is called when the user taps a link of the form <A HREF="cmd:#"> in the notification balloon.

Syntax

HRESULT OnCommandSelected(
  DWORD dwID,
  WORD wCmdID
);

Parameters

  • dwID
    The unique identifier of the notification.
  • wCmdID
    The command ID of the command that was selected; that is, it contains the command ID specified in the HREF.

Return Values

This method should return S_OK if it was successful or appropriate errors if not.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: aygshell.h
Library: aygshell.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.