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

AddServiceFlag

列挙型
基底型i4

メンバー 3

名前10進16進
asfAllowPendingRegistration10x1
asfAllowOnlineRegistration20x2
asfRegisterServiceWithAU40x4

各言語での定義

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

typedef enum AddServiceFlag : int {
    asfAllowPendingRegistration = 1,
    asfAllowOnlineRegistration = 2,
    asfRegisterServiceWithAU = 4
} AddServiceFlag;
public enum AddServiceFlag : int
{
    asfAllowPendingRegistration = 1,
    asfAllowOnlineRegistration = 2,
    asfRegisterServiceWithAU = 4,
}
Public Enum AddServiceFlag As Integer
    asfAllowPendingRegistration = 1
    asfAllowOnlineRegistration = 2
    asfRegisterServiceWithAU = 4
End Enum
import enum

class AddServiceFlag(enum.IntEnum):
    asfAllowPendingRegistration = 1
    asfAllowOnlineRegistration = 2
    asfRegisterServiceWithAU = 4
// AddServiceFlag
pub const asfAllowPendingRegistration: i32 = 1;
pub const asfAllowOnlineRegistration: i32 = 2;
pub const asfRegisterServiceWithAU: i32 = 4;
// AddServiceFlag
const (
	asfAllowPendingRegistration int32 = 1
	asfAllowOnlineRegistration int32 = 2
	asfRegisterServiceWithAU int32 = 4
)
const
  asfAllowPendingRegistration = 1;
  asfAllowOnlineRegistration = 2;
  asfRegisterServiceWithAU = 4;
// AddServiceFlag
pub const asfAllowPendingRegistration: i32 = 1;
pub const asfAllowOnlineRegistration: i32 = 2;
pub const asfRegisterServiceWithAU: i32 = 4;
const
  asfAllowPendingRegistration* = 1
  asfAllowOnlineRegistration* = 2
  asfRegisterServiceWithAU* = 4
enum AddServiceFlag : int {
    asfAllowPendingRegistration = 1,
    asfAllowOnlineRegistration = 2,
    asfRegisterServiceWithAU = 4,
}
#define global asfAllowPendingRegistration 0x1
#define global asfAllowOnlineRegistration  0x2
#define global asfRegisterServiceWithAU    0x4