Partager via


SHNotificationRemove (Windows CE 5.0)

Send Feedback

This function removes a notification. This is usually in response to some action taken on the data that is outside of the notification system. For example, if a message is read or deleted and the notification becomes obsolete by means other than action taken from the notification bubble.

Syntax

LRESULT SHNotificationRemove(  const CLSID* pclsid,  DWORD dwID);

Parameters

  • pclsid
    [in] Class identifier of the notification to remove.
  • dwID
    [in] Specifies the unique identifier of the notification to remove. Do not set the value of this parameter to 0; that option is not implemented. If the value of this parameter is set to 0, the function will return an error.

Return Values

This function returns ERROR_SUCCESS when successful.

Remarks

Notifications are typically removed when the user taps on a link in the notification bubble. This function only needs to be called when the notification needs to be removed because of external changes in state.

Requirements

OS Versions: Windows CE 3.0 and later
Header: aygshell.h
Library: aygshell.lib

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.