IUpdateInstaller3::put_AttemptCloseAppsIfNecessary method (wuapi.h)

[This method is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sets a value indicating whether the update installer will attempt to close applications, blocking immediate installation of updates.

Syntax

HRESULT put_AttemptCloseAppsIfNecessary(
  VARIANT_BOOL value
);

Parameters

value

Set to True if the installer should attempt to close applications.

Return value

Returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header wuapi.h
Library Wuguid.lib
DLL Wuapi.dll

See also

IUpdateInstaller3