Shell_NotifyIcon

This function 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, 
PNOTIFYICONDATA pnid );

Parameters

  • dwMessage
    [in] Specifies the message value to send. It is one of these values:

    Value Description
    NIM_ADD Adds an icon to the status area.
    NIM_DELETE Deletes an icon from the status area.
    NIM_MODIFY Modifies an icon in the status area.
  • pnid
    [in] Pointer to a NOTIFYICONDATA structure. The content of the structure depends on the value of dwMessage.

Return Values

Nonzero indicates success. Zero indicates failure.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Shellapi.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.