Επεξεργασία

Κοινή χρήση μέσω


IUserNotification::SetBalloonRetry method (shobjidl_core.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 XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)