SHNotificationUpdate

The SHNotificationUpdate function updates aspects of a pending notification.

LRESULT SHNotificationUpdate(
  DWORD grnumUpdateMask, 
  SHNOTIFICATIONDATA * pndNew
);

Parameters

  • grnumUpdateMask
    A bit-field which specifies which members of pndNew are active.
  • pndNew
    New data to place into the notification.

Return Values

ERROR_SUCCESS indicates success.

Remarks

The grnumUpdateMask consists of one or more SHNUM_XXXX flags. When calling SHNotificationUpdate, the caller sets the bits in grnumUpdateMask and fills the corresponding members in pndNew. The other members are ignored. The SHNUM_* flags are as follows:

Flag Value Description
SHNUM_PRIORITY 0x0001 The npPriority member is active.
SHNUM_DURATION 0x0002 The csDuration member is active.
SHNUM_ICON 0x0004 The hIcon member is active.
SHNUM_HTML 0x0008 The pszHTML member is active.
SHNUM_TITLE 0x0010 The pszTitle member is active.

Requirements

Smartphone: Not Supported
Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: aygshell.h
Library: aygshell.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.