Win32 API 日本語リファレンス
ホームNetworkManagement.Dns › DNS_SECTION

DNS_SECTION

列挙型
基底型i4

メンバー 4

名前10進16進
DnsSectionQuestion00x0
DnsSectionAnswer10x1
DnsSectionAuthority20x2
DnsSectionAddtional30x3

各言語での定義

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

typedef enum DNS_SECTION : int {
    DnsSectionQuestion = 0,
    DnsSectionAnswer = 1,
    DnsSectionAuthority = 2,
    DnsSectionAddtional = 3
} DNS_SECTION;
public enum DNS_SECTION : int
{
    DnsSectionQuestion = 0,
    DnsSectionAnswer = 1,
    DnsSectionAuthority = 2,
    DnsSectionAddtional = 3,
}
Public Enum DNS_SECTION As Integer
    DnsSectionQuestion = 0
    DnsSectionAnswer = 1
    DnsSectionAuthority = 2
    DnsSectionAddtional = 3
End Enum
import enum

class DNS_SECTION(enum.IntEnum):
    DnsSectionQuestion = 0
    DnsSectionAnswer = 1
    DnsSectionAuthority = 2
    DnsSectionAddtional = 3
// DNS_SECTION
pub const DnsSectionQuestion: i32 = 0;
pub const DnsSectionAnswer: i32 = 1;
pub const DnsSectionAuthority: i32 = 2;
pub const DnsSectionAddtional: i32 = 3;
// DNS_SECTION
const (
	DnsSectionQuestion int32 = 0
	DnsSectionAnswer int32 = 1
	DnsSectionAuthority int32 = 2
	DnsSectionAddtional int32 = 3
)
const
  DnsSectionQuestion = 0;
  DnsSectionAnswer = 1;
  DnsSectionAuthority = 2;
  DnsSectionAddtional = 3;
// DNS_SECTION
pub const DnsSectionQuestion: i32 = 0;
pub const DnsSectionAnswer: i32 = 1;
pub const DnsSectionAuthority: i32 = 2;
pub const DnsSectionAddtional: i32 = 3;
const
  DnsSectionQuestion* = 0
  DnsSectionAnswer* = 1
  DnsSectionAuthority* = 2
  DnsSectionAddtional* = 3
enum DNS_SECTION : int {
    DnsSectionQuestion = 0,
    DnsSectionAnswer = 1,
    DnsSectionAuthority = 2,
    DnsSectionAddtional = 3,
}
#define global DnsSectionQuestion  0x0
#define global DnsSectionAnswer    0x1
#define global DnsSectionAuthority 0x2
#define global DnsSectionAddtional 0x3