Geoff Chappell - Software Analyst
This method of the INotificationCB interface receives information about (and changes to) items in a tray’s notification area.
HRESULT INotificationCB :: Notify (ULONG Event, NOTIFYITEM *Item);
The Event argument tells whether the item has been added, modified or deleted:
0 | added |
1 | modified |
2 | deleted |
The Item argument provides the address of a structure that describes the item. The NOTIFYITEM structure is described separately.
The method returns zero for success, else an error code.
This method is to be implemented in code that wants to know about notification-area items. To set it up, pass the INotificationCB interface to the RegisterCallback method of the notification area’s ITrayNotify interface.
EXPLORER ignores the return value.