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

WTS_TYPE_CLASS

列挙型
基底型i4

メンバー 5

名前10進16進説明
WTSTypeProcessInfoLevel000x0バッファーには WTSCloudAuthGetServerNonce が出力したサーバー ノンスが格納されています。
WTSTypeProcessInfoLevel110x1バッファーには 1 つ以上の WTS_PROCESS_INFO 構造体が格納されています。
WTSTypeSessionInfoLevel120x2バッファーには WTSCloudAuthConvertAssertionToSerializedUserCredential が出力したシリアル化されたユーザー資格情報が格納されています。
WTSTypeCloudAuthServerNonce30x3バッファーには 1 つ以上の WTS_PROCESS_INFO_EX 構造体が格納されています
WTSTypeSerializedUserCredential40x4バッファーには 1 つ以上の WTS_SESSION_INFO_1 構造体が格納されています。

公式ドキュメント

リモート デスクトップ サービス関数がバッファーに返した構造体の型を指定します。

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

各言語での定義

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

typedef enum WTS_TYPE_CLASS : int {
    WTSTypeProcessInfoLevel0 = 0,
    WTSTypeProcessInfoLevel1 = 1,
    WTSTypeSessionInfoLevel1 = 2,
    WTSTypeCloudAuthServerNonce = 3,
    WTSTypeSerializedUserCredential = 4
} WTS_TYPE_CLASS;
public enum WTS_TYPE_CLASS : int
{
    WTSTypeProcessInfoLevel0 = 0,
    WTSTypeProcessInfoLevel1 = 1,
    WTSTypeSessionInfoLevel1 = 2,
    WTSTypeCloudAuthServerNonce = 3,
    WTSTypeSerializedUserCredential = 4,
}
Public Enum WTS_TYPE_CLASS As Integer
    WTSTypeProcessInfoLevel0 = 0
    WTSTypeProcessInfoLevel1 = 1
    WTSTypeSessionInfoLevel1 = 2
    WTSTypeCloudAuthServerNonce = 3
    WTSTypeSerializedUserCredential = 4
End Enum
import enum

class WTS_TYPE_CLASS(enum.IntEnum):
    WTSTypeProcessInfoLevel0 = 0
    WTSTypeProcessInfoLevel1 = 1
    WTSTypeSessionInfoLevel1 = 2
    WTSTypeCloudAuthServerNonce = 3
    WTSTypeSerializedUserCredential = 4
// WTS_TYPE_CLASS
pub const WTSTypeProcessInfoLevel0: i32 = 0;
pub const WTSTypeProcessInfoLevel1: i32 = 1;
pub const WTSTypeSessionInfoLevel1: i32 = 2;
pub const WTSTypeCloudAuthServerNonce: i32 = 3;
pub const WTSTypeSerializedUserCredential: i32 = 4;
// WTS_TYPE_CLASS
const (
	WTSTypeProcessInfoLevel0 int32 = 0
	WTSTypeProcessInfoLevel1 int32 = 1
	WTSTypeSessionInfoLevel1 int32 = 2
	WTSTypeCloudAuthServerNonce int32 = 3
	WTSTypeSerializedUserCredential int32 = 4
)
const
  WTSTypeProcessInfoLevel0 = 0;
  WTSTypeProcessInfoLevel1 = 1;
  WTSTypeSessionInfoLevel1 = 2;
  WTSTypeCloudAuthServerNonce = 3;
  WTSTypeSerializedUserCredential = 4;
// WTS_TYPE_CLASS
pub const WTSTypeProcessInfoLevel0: i32 = 0;
pub const WTSTypeProcessInfoLevel1: i32 = 1;
pub const WTSTypeSessionInfoLevel1: i32 = 2;
pub const WTSTypeCloudAuthServerNonce: i32 = 3;
pub const WTSTypeSerializedUserCredential: i32 = 4;
const
  WTSTypeProcessInfoLevel0* = 0
  WTSTypeProcessInfoLevel1* = 1
  WTSTypeSessionInfoLevel1* = 2
  WTSTypeCloudAuthServerNonce* = 3
  WTSTypeSerializedUserCredential* = 4
enum WTS_TYPE_CLASS : int {
    WTSTypeProcessInfoLevel0 = 0,
    WTSTypeProcessInfoLevel1 = 1,
    WTSTypeSessionInfoLevel1 = 2,
    WTSTypeCloudAuthServerNonce = 3,
    WTSTypeSerializedUserCredential = 4,
}
#define global WTSTypeProcessInfoLevel0        0x0
#define global WTSTypeProcessInfoLevel1        0x1
#define global WTSTypeSessionInfoLevel1        0x2
#define global WTSTypeCloudAuthServerNonce     0x3
#define global WTSTypeSerializedUserCredential 0x4