IUpdateInstaller3::get_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.]

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

Syntax

HRESULT get_AttemptCloseAppsIfNecessary(
  VARIANT_BOOL *retval
);

Parameters

retval

True if the installer will 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