Win32 API 日本語リファレンス
ホームSystem.UpdateAgent › AutomaticUpdatesNotificationLevel

AutomaticUpdatesNotificationLevel

列挙型
基底型i4

メンバー 5

名前10進16進説明
aunlNotConfigured00x0自動更新がユーザーまたはグループ ポリシー管理者によって構成されていません。ユーザーには自動更新を構成するよう定期的にメッセージが表示されます。
aunlDisabled10x1自動更新は無効です。ユーザーにはコンピューターの重要な更新プログラムが通知されません。
aunlNotifyBeforeDownload20x2自動更新は、更新プログラムをダウンロードまたはインストールする前に、ユーザーに承認を求めます。
aunlNotifyBeforeInstallation30x3自動更新は更新プログラムを自動的にダウンロードしますが、インストールの前にユーザーに承認を求めます。
aunlScheduledInstallation40x4自動更新は、ユーザーによって、または IAutomaticUpdatesSettings.ScheduledInstallationDay プロパティおよび IAutomaticUPdatesSettings.ScheduledInstallationTime プロパティによって指定されたスケジュールに従って、更新プログラムを自動的にインストールします。この設定が推奨される設定です。

公式ドキュメント

昇格されたユーザーに自動更新イベントが通知される方法を定義します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum AutomaticUpdatesNotificationLevel : int {
    aunlNotConfigured = 0,
    aunlDisabled = 1,
    aunlNotifyBeforeDownload = 2,
    aunlNotifyBeforeInstallation = 3,
    aunlScheduledInstallation = 4
} AutomaticUpdatesNotificationLevel;
public enum AutomaticUpdatesNotificationLevel : int
{
    aunlNotConfigured = 0,
    aunlDisabled = 1,
    aunlNotifyBeforeDownload = 2,
    aunlNotifyBeforeInstallation = 3,
    aunlScheduledInstallation = 4,
}
Public Enum AutomaticUpdatesNotificationLevel As Integer
    aunlNotConfigured = 0
    aunlDisabled = 1
    aunlNotifyBeforeDownload = 2
    aunlNotifyBeforeInstallation = 3
    aunlScheduledInstallation = 4
End Enum
import enum

class AutomaticUpdatesNotificationLevel(enum.IntEnum):
    aunlNotConfigured = 0
    aunlDisabled = 1
    aunlNotifyBeforeDownload = 2
    aunlNotifyBeforeInstallation = 3
    aunlScheduledInstallation = 4
// AutomaticUpdatesNotificationLevel
pub const aunlNotConfigured: i32 = 0;
pub const aunlDisabled: i32 = 1;
pub const aunlNotifyBeforeDownload: i32 = 2;
pub const aunlNotifyBeforeInstallation: i32 = 3;
pub const aunlScheduledInstallation: i32 = 4;
// AutomaticUpdatesNotificationLevel
const (
	aunlNotConfigured int32 = 0
	aunlDisabled int32 = 1
	aunlNotifyBeforeDownload int32 = 2
	aunlNotifyBeforeInstallation int32 = 3
	aunlScheduledInstallation int32 = 4
)
const
  aunlNotConfigured = 0;
  aunlDisabled = 1;
  aunlNotifyBeforeDownload = 2;
  aunlNotifyBeforeInstallation = 3;
  aunlScheduledInstallation = 4;
// AutomaticUpdatesNotificationLevel
pub const aunlNotConfigured: i32 = 0;
pub const aunlDisabled: i32 = 1;
pub const aunlNotifyBeforeDownload: i32 = 2;
pub const aunlNotifyBeforeInstallation: i32 = 3;
pub const aunlScheduledInstallation: i32 = 4;
const
  aunlNotConfigured* = 0
  aunlDisabled* = 1
  aunlNotifyBeforeDownload* = 2
  aunlNotifyBeforeInstallation* = 3
  aunlScheduledInstallation* = 4
enum AutomaticUpdatesNotificationLevel : int {
    aunlNotConfigured = 0,
    aunlDisabled = 1,
    aunlNotifyBeforeDownload = 2,
    aunlNotifyBeforeInstallation = 3,
    aunlScheduledInstallation = 4,
}
#define global aunlNotConfigured            0x0
#define global aunlDisabled                 0x1
#define global aunlNotifyBeforeDownload     0x2
#define global aunlNotifyBeforeInstallation 0x3
#define global aunlScheduledInstallation    0x4