IUpdateInstaller::get_IsBusy method (wuapi.h)
Gets a Boolean value that indicates whether an installation or uninstallation is in progress on a computer at a specific time.
This property is read-only.
Syntax
HRESULT get_IsBusy(
VARIANT_BOOL *retval
);
Parameters
retval
Return value
None
Remarks
A new installation or uninstallation is processed only when no other installation or uninstallation is in progress. While an installation or uninstallation is in progress, a new installation or uninstallation immediately fails with the WU_E_OPERATIONINPROGRESS error. The IsBusy property does not secure an opportunity for the caller to begin a new installation or uninstallation. If the IsBusy property or a recent installation or uninstallation failure indicates that another installation or uninstallation is already in progress, the caller should attempt the installation or uninstallation later.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional with SP3 [desktop apps only] |
Minimum supported server | Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only] |
Target Platform | Windows |
Header | wuapi.h |
Library | Wuguid.lib |
DLL | Wuapi.dll |