IUserNotification2::SetBalloonRetry method (shobjidl.h)

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

Syntax

HRESULT SetBalloonRetry(
  [in] DWORD dwShowTime,
  [in] DWORD dwInterval,
  [in] UINT  cRetryCount
);

Parameters

[in] dwShowTime

Type: DWORD

The amount of time, in milliseconds, to display the user information.

[in] dwInterval

Type: DWORD

The interval of time, in milliseconds, between attempts to display the user information.

[in] cRetryCount

Type: UINT

The number of times the system should try to display the user information.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl.h

See also

IUserNotification2

SetBalloonRetry