IUpdateInstaller3::put_AttemptCloseAppsIfNecessary method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

[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

   
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