Export (0) Print
Expand All

IUserNotification interface

Exposes methods that set notification information and then display that notification to the user in a balloon that appears in conjunction with the notification area of the taskbar.

Note  IUserNotification2 differs from IUserNotification only in its Show method, which adds an additional parameter for a callback interface to communicate with the notification. Otherwise the two interfaces are identical in form and function. CLSID_UserNotification implements both versions of Show as an overload.

Members

The IUserNotification interface inherits from the IUnknown interface. IUserNotification also has these types of members:

Methods

The IUserNotification interface has these methods.

MethodDescription
PlaySound

Plays a sound in conjunction with the notification.

SetBalloonInfo

Sets the information to be displayed in a balloon notification.

SetBalloonRetry

Specifies the conditions for trying to display user information when the first attempt fails.

SetIconInfo

Sets the notification area icon associated with specific user information.

Show

Displays the notification.

 

Remarks

When to Implement

An implementation of this interface is provided in Windows as CLSID_UserNotification.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 6.0 or later)

See also

IUserNotification2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft