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

StreamMode

列挙型
基底型i4

メンバー 4

名前10進16進説明
plaFile10x1トレースイベントをログファイルに書き込みます。
plaRealTime20x2トレースイベントをリアルタイムコンシューマーに配信します。
plaBoth30x3トレースイベントをログファイルに書き込み、さらにリアルタイムコンシューマーに配信します。
plaBuffering40x4詳細については、Event Tracing for Windows の EVENT_TRACE_BUFFERING_MODE ログモードを参照してください。

公式ドキュメント

トレースイベントの配信先を定義します。

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

各言語での定義

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

typedef enum StreamMode : int {
    plaFile = 1,
    plaRealTime = 2,
    plaBoth = 3,
    plaBuffering = 4
} StreamMode;
public enum StreamMode : int
{
    plaFile = 1,
    plaRealTime = 2,
    plaBoth = 3,
    plaBuffering = 4,
}
Public Enum StreamMode As Integer
    plaFile = 1
    plaRealTime = 2
    plaBoth = 3
    plaBuffering = 4
End Enum
import enum

class StreamMode(enum.IntEnum):
    plaFile = 1
    plaRealTime = 2
    plaBoth = 3
    plaBuffering = 4
// StreamMode
pub const plaFile: i32 = 1;
pub const plaRealTime: i32 = 2;
pub const plaBoth: i32 = 3;
pub const plaBuffering: i32 = 4;
// StreamMode
const (
	plaFile int32 = 1
	plaRealTime int32 = 2
	plaBoth int32 = 3
	plaBuffering int32 = 4
)
const
  plaFile = 1;
  plaRealTime = 2;
  plaBoth = 3;
  plaBuffering = 4;
// StreamMode
pub const plaFile: i32 = 1;
pub const plaRealTime: i32 = 2;
pub const plaBoth: i32 = 3;
pub const plaBuffering: i32 = 4;
const
  plaFile* = 1
  plaRealTime* = 2
  plaBoth* = 3
  plaBuffering* = 4
enum StreamMode : int {
    plaFile = 1,
    plaRealTime = 2,
    plaBoth = 3,
    plaBuffering = 4,
}
#define global plaFile      0x1
#define global plaRealTime  0x2
#define global plaBoth      0x3
#define global plaBuffering 0x4