SHNotificationRemove
This function removes a notification. This is usually in response to some action taken on the data that is outside of the notification system.
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 .NET 4.2 and later.
Header: Aygshell.h.
Link Library: Aygshell.lib.
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.