IAutomaticUpdatesSettings::get_NotificationLevel 方法 (wuapi.h)

[不再支持 Set 。 从Windows 10调用 Set 始终返回S_OK,但不执行任何操作。]

获取和设置如何通知用户自动更新事件。

此属性是可读写的。

语法

HRESULT get_NotificationLevel(
  AutomaticUpdatesNotificationLevel *retval
);

参数

retval

返回值

要求

要求
最低受支持的客户端 Windows XP、Windows 2000 Professional SP3 [仅限桌面应用]
最低受支持的服务器 Windows Server 2003、Windows 2000 Server SP3 [仅限桌面应用]
目标平台 Windows
标头 wuapi.h
Library Wuguid.lib
DLL Wuapi.dll

另请参阅

IAutomaticUpdatesSettings