Shell_NotifyIcon  1NWU8RO 

[Now Supported on Windows NT]

Sends a message to the system to add, modify, or delete an icon from the taskbar status area.

WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(

    DWORD dwMessage,

// message identifier

    PNOTIFYICONDATA pnid

// pointer to structure

   );

 

 

Parameters

dwMessage

Identifier of the message to send. This parameter can be one of these values:

NIM_ADDVIT35N

Adds an icon to the status area.

NIM_DELETE1MTXIZZ

Deletes an icon from the status area.

NIM_MODIFYGL8NIN

Modifies an icon in the status area.

 

pnid

Pointer to a NOTIFYICONDATA2V61UX5 structure. The content of the structure depends on the value of dwMessage.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.