SHNotificationGetData

This function gets the data for a notification. It is available for querying back the data to another application.

LRESULT SHNotificationGetData(
  const CLSID* pclsid,
  DWORD dwID, 
  SHNOTIFICATIONDATA* pndBuffer
);

Parameters

  • pclsid
    [in] Pointer to the class ID of the notification.
  • dwID
    [in] Specifies the unique identifier for the notification.
  • pndBuffer
    [out] Pointer to an SHNOTIFICATIONDATA buffer to receive the notification data.

Return Values

This function returns ERROR_SUCCESS when successful.

Remarks

Upon successful return from this function, pndBuffer->pszHTML and pndBuffer->pszTitle are owned by and must be freed by the caller.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Aygshell.h.
Link Library: Aygshell.lib.

See Also

AYGShell Functions | SHNOTIFICATIONDATA

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.