Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef _TRAYCMN_H
#define _TRAYCMN_H
//
// CNotificationItem - encapsulate the data needed to communicate between the tray
// and the tray properties dialog
//
#include <shpriv.h>
typedef struct tagTNPersistStreamData TNPersistStreamData;
class CNotificationItem : public NOTIFYITEM { public: CNotificationItem(); CNotificationItem(const NOTIFYITEM& no); CNotificationItem(const CNotificationItem& no); CNotificationItem(const TNPersistStreamData* ptnpd);
~CNotificationItem();
inline void _Init(); void _Free();
const CNotificationItem& operator=(const TNPersistStreamData* ptnpd); const CNotificationItem& operator=(const CNotificationItem& ni); BOOL operator==(CNotificationItem& ni) const;
void CopyNotifyItem(const NOTIFYITEM& no, BOOL bInsert = TRUE); void CopyPTNPD(const TNPersistStreamData* ptnpd);
inline void CopyBuffer(LPCTSTR lpszSrc, LPTSTR * plpszDest); inline void SetExeName(LPCTSTR lpszExeName); inline void SetIconText(LPCTSTR lpszIconText); };
#endif // _TRAYCMN_H
|