ホーム › Media.MediaPlayer › WMPTransactionType
WMPTransactionType
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| wmpttNoTransaction | 0 | 0x0 | トランザクションはありません。 |
| wmpttDownload | 1 | 0x1 | ダウンロードのトランザクションです。 |
| wmpttBuy | 2 | 0x2 | 購入のトランザクションです。 |
公式ドキュメント
[このページに関連する機能である Windows Media Player SDK は、レガシー機能です。この機能は MediaPlayer に置き換えられました。MediaPlayer は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合、新しいコードでは Windows Media Player SDK ではなく MediaPlayer を使用することを強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]
注 このセクションでは、オンラインストアでの使用を目的とした機能について説明します。オンラインストア以外のコンテキストでこの機能を使用することはサポートされていません。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum WMPTransactionType : int {
wmpttNoTransaction = 0,
wmpttDownload = 1,
wmpttBuy = 2
} WMPTransactionType;public enum WMPTransactionType : int
{
wmpttNoTransaction = 0,
wmpttDownload = 1,
wmpttBuy = 2,
}Public Enum WMPTransactionType As Integer
wmpttNoTransaction = 0
wmpttDownload = 1
wmpttBuy = 2
End Enumimport enum
class WMPTransactionType(enum.IntEnum):
wmpttNoTransaction = 0
wmpttDownload = 1
wmpttBuy = 2// WMPTransactionType
pub const wmpttNoTransaction: i32 = 0;
pub const wmpttDownload: i32 = 1;
pub const wmpttBuy: i32 = 2;// WMPTransactionType
const (
wmpttNoTransaction int32 = 0
wmpttDownload int32 = 1
wmpttBuy int32 = 2
)const
wmpttNoTransaction = 0;
wmpttDownload = 1;
wmpttBuy = 2;// WMPTransactionType
pub const wmpttNoTransaction: i32 = 0;
pub const wmpttDownload: i32 = 1;
pub const wmpttBuy: i32 = 2;const
wmpttNoTransaction* = 0
wmpttDownload* = 1
wmpttBuy* = 2enum WMPTransactionType : int {
wmpttNoTransaction = 0,
wmpttDownload = 1,
wmpttBuy = 2,
}#define global wmpttNoTransaction 0x0
#define global wmpttDownload 0x1
#define global wmpttBuy 0x2