Win32 API 日本語リファレンス
ホームMedia.WindowsMediaFormat › WMT_STORAGE_FORMAT

WMT_STORAGE_FORMAT

列挙型
基底型i4

メンバー 2

名前10進16進説明
WMT_Storage_Format_MP300x0ファイルが MP3 形式でエンコードされていることを示します。
WMT_Storage_Format_V110x1ファイルが Windows Media 形式でエンコードされていることを示します。

公式ドキュメント

[このページに関連する機能である Windows Media Format 11 SDK は、レガシー機能です。この機能は Source Reader および Sink Writer に置き換えられました。Source ReaderSink Writer は Windows 10 および Windows 11 向けに最適化されています。可能な場合は、新しいコードでは Windows Media Format 11 SDK ではなく Source ReaderSink Writer を使用することを Microsoft は強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを Microsoft は推奨します。]

WMT_STORAGE_FORMAT 列挙型は、この SDK で操作できるファイルの種類を定義します。

解説(Remarks)

ストレージ形式 MP3 は読み取りではサポートされますが、書き込みではサポートされません。

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

各言語での定義

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

typedef enum WMT_STORAGE_FORMAT : int {
    WMT_Storage_Format_MP3 = 0,
    WMT_Storage_Format_V1 = 1
} WMT_STORAGE_FORMAT;
public enum WMT_STORAGE_FORMAT : int
{
    WMT_Storage_Format_MP3 = 0,
    WMT_Storage_Format_V1 = 1,
}
Public Enum WMT_STORAGE_FORMAT As Integer
    WMT_Storage_Format_MP3 = 0
    WMT_Storage_Format_V1 = 1
End Enum
import enum

class WMT_STORAGE_FORMAT(enum.IntEnum):
    WMT_Storage_Format_MP3 = 0
    WMT_Storage_Format_V1 = 1
// WMT_STORAGE_FORMAT
pub const WMT_Storage_Format_MP3: i32 = 0;
pub const WMT_Storage_Format_V1: i32 = 1;
// WMT_STORAGE_FORMAT
const (
	WMT_Storage_Format_MP3 int32 = 0
	WMT_Storage_Format_V1 int32 = 1
)
const
  WMT_Storage_Format_MP3 = 0;
  WMT_Storage_Format_V1 = 1;
// WMT_STORAGE_FORMAT
pub const WMT_Storage_Format_MP3: i32 = 0;
pub const WMT_Storage_Format_V1: i32 = 1;
const
  WMT_Storage_Format_MP3* = 0
  WMT_Storage_Format_V1* = 1
enum WMT_STORAGE_FORMAT : int {
    WMT_Storage_Format_MP3 = 0,
    WMT_Storage_Format_V1 = 1,
}
#define global WMT_Storage_Format_MP3 0x0
#define global WMT_Storage_Format_V1  0x1