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

UpdateType

列挙型
基底型i4

メンバー 2

名前10進16進説明
utSoftware10x1更新プログラムがソフトウェア更新であることを示します。
utDriver20x2更新プログラムがドライバー更新であることを示します。

公式ドキュメント

ドライバー更新やソフトウェア更新など、更新プログラムの種類を定義します。

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

各言語での定義

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

typedef enum UpdateType : int {
    utSoftware = 1,
    utDriver = 2
} UpdateType;
public enum UpdateType : int
{
    utSoftware = 1,
    utDriver = 2,
}
Public Enum UpdateType As Integer
    utSoftware = 1
    utDriver = 2
End Enum
import enum

class UpdateType(enum.IntEnum):
    utSoftware = 1
    utDriver = 2
// UpdateType
pub const utSoftware: i32 = 1;
pub const utDriver: i32 = 2;
// UpdateType
const (
	utSoftware int32 = 1
	utDriver int32 = 2
)
const
  utSoftware = 1;
  utDriver = 2;
// UpdateType
pub const utSoftware: i32 = 1;
pub const utDriver: i32 = 2;
const
  utSoftware* = 1
  utDriver* = 2
enum UpdateType : int {
    utSoftware = 1,
    utDriver = 2,
}
#define global utSoftware 0x1
#define global utDriver   0x2