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

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

Syntax

HRESULT get_AttemptCloseAppsIfNecessary(
  [out] VARIANT_BOOL *retval
);

Parameters

[out] retval

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