ホーム › Media.DirectShow › DVD_PARENTAL_LEVEL
DVD_PARENTAL_LEVEL
列挙型メンバー 8
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| DVD_PARENTAL_LEVEL_8 | 32768 | 0x8000 | ペアレンタルレベル 8 です。 |
| DVD_PARENTAL_LEVEL_7 | 16384 | 0x4000 | ペアレンタルレベル 7 です。 |
| DVD_PARENTAL_LEVEL_6 | 8192 | 0x2000 | ペアレンタルレベル 6 です。 |
| DVD_PARENTAL_LEVEL_5 | 4096 | 0x1000 | ペアレンタルレベル 5 です。 |
| DVD_PARENTAL_LEVEL_4 | 2048 | 0x800 | ペアレンタルレベル 4 です。 |
| DVD_PARENTAL_LEVEL_3 | 1024 | 0x400 | ペアレンタルレベル 3 です。 |
| DVD_PARENTAL_LEVEL_2 | 512 | 0x200 | ペアレンタルレベル 2 です。 |
| DVD_PARENTAL_LEVEL_1 | 256 | 0x100 | ペアレンタルレベル 1 です。 |
公式ドキュメント
[このページに関連する機能である DirectShow はレガシー機能です。これは MediaPlayer、IMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられました。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合は新しいコードで DirectShow ではなく MediaPlayer、IMFMediaEngine、Audio/Video Capture in Media Foundation を使用することを強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]
DVD 仕様で定義されている汎用のペアレンタルレベルを表すフラグを識別します。
解説(Remarks)
DVD_PARENTAL_LEVEL_8 が最も制限の厳しいレベルで、DVD_PARENTAL_LEVEL_1 が最も制限の緩いレベルです。レベルの解釈方法や使用方法は、国や地域によって異なります。米国およびカナダでは、各レベルは次の表に示すように全米映画協会 (MPAA) のレーティングに対応します。
| ペアレンタルレベル | 意味 |
|---|---|
| 1 | レーティングは G (一般向け) です。 |
| 3 | レーティングは PG (保護者の助言が望ましい) です。 |
| 4 | レーティングは PG-13 (保護者の助言が望ましく、13 歳未満には推奨されない) です。 |
| 6 | レーティングは R (制限付き) です。 |
| 7 | レーティングは NC-17 です。 |
この列挙型は IDvdInfo2::GetTitleParentalLevels メソッドで使用されます。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 DVD_PARENTAL_LEVEL : int {
DVD_PARENTAL_LEVEL_8 = 32768,
DVD_PARENTAL_LEVEL_7 = 16384,
DVD_PARENTAL_LEVEL_6 = 8192,
DVD_PARENTAL_LEVEL_5 = 4096,
DVD_PARENTAL_LEVEL_4 = 2048,
DVD_PARENTAL_LEVEL_3 = 1024,
DVD_PARENTAL_LEVEL_2 = 512,
DVD_PARENTAL_LEVEL_1 = 256
} DVD_PARENTAL_LEVEL;public enum DVD_PARENTAL_LEVEL : int
{
DVD_PARENTAL_LEVEL_8 = 32768,
DVD_PARENTAL_LEVEL_7 = 16384,
DVD_PARENTAL_LEVEL_6 = 8192,
DVD_PARENTAL_LEVEL_5 = 4096,
DVD_PARENTAL_LEVEL_4 = 2048,
DVD_PARENTAL_LEVEL_3 = 1024,
DVD_PARENTAL_LEVEL_2 = 512,
DVD_PARENTAL_LEVEL_1 = 256,
}Public Enum DVD_PARENTAL_LEVEL As Integer
DVD_PARENTAL_LEVEL_8 = 32768
DVD_PARENTAL_LEVEL_7 = 16384
DVD_PARENTAL_LEVEL_6 = 8192
DVD_PARENTAL_LEVEL_5 = 4096
DVD_PARENTAL_LEVEL_4 = 2048
DVD_PARENTAL_LEVEL_3 = 1024
DVD_PARENTAL_LEVEL_2 = 512
DVD_PARENTAL_LEVEL_1 = 256
End Enumimport enum
class DVD_PARENTAL_LEVEL(enum.IntEnum):
DVD_PARENTAL_LEVEL_8 = 32768
DVD_PARENTAL_LEVEL_7 = 16384
DVD_PARENTAL_LEVEL_6 = 8192
DVD_PARENTAL_LEVEL_5 = 4096
DVD_PARENTAL_LEVEL_4 = 2048
DVD_PARENTAL_LEVEL_3 = 1024
DVD_PARENTAL_LEVEL_2 = 512
DVD_PARENTAL_LEVEL_1 = 256// DVD_PARENTAL_LEVEL
pub const DVD_PARENTAL_LEVEL_8: i32 = 32768;
pub const DVD_PARENTAL_LEVEL_7: i32 = 16384;
pub const DVD_PARENTAL_LEVEL_6: i32 = 8192;
pub const DVD_PARENTAL_LEVEL_5: i32 = 4096;
pub const DVD_PARENTAL_LEVEL_4: i32 = 2048;
pub const DVD_PARENTAL_LEVEL_3: i32 = 1024;
pub const DVD_PARENTAL_LEVEL_2: i32 = 512;
pub const DVD_PARENTAL_LEVEL_1: i32 = 256;// DVD_PARENTAL_LEVEL
const (
DVD_PARENTAL_LEVEL_8 int32 = 32768
DVD_PARENTAL_LEVEL_7 int32 = 16384
DVD_PARENTAL_LEVEL_6 int32 = 8192
DVD_PARENTAL_LEVEL_5 int32 = 4096
DVD_PARENTAL_LEVEL_4 int32 = 2048
DVD_PARENTAL_LEVEL_3 int32 = 1024
DVD_PARENTAL_LEVEL_2 int32 = 512
DVD_PARENTAL_LEVEL_1 int32 = 256
)const
DVD_PARENTAL_LEVEL_8 = 32768;
DVD_PARENTAL_LEVEL_7 = 16384;
DVD_PARENTAL_LEVEL_6 = 8192;
DVD_PARENTAL_LEVEL_5 = 4096;
DVD_PARENTAL_LEVEL_4 = 2048;
DVD_PARENTAL_LEVEL_3 = 1024;
DVD_PARENTAL_LEVEL_2 = 512;
DVD_PARENTAL_LEVEL_1 = 256;// DVD_PARENTAL_LEVEL
pub const DVD_PARENTAL_LEVEL_8: i32 = 32768;
pub const DVD_PARENTAL_LEVEL_7: i32 = 16384;
pub const DVD_PARENTAL_LEVEL_6: i32 = 8192;
pub const DVD_PARENTAL_LEVEL_5: i32 = 4096;
pub const DVD_PARENTAL_LEVEL_4: i32 = 2048;
pub const DVD_PARENTAL_LEVEL_3: i32 = 1024;
pub const DVD_PARENTAL_LEVEL_2: i32 = 512;
pub const DVD_PARENTAL_LEVEL_1: i32 = 256;const
DVD_PARENTAL_LEVEL_8* = 32768
DVD_PARENTAL_LEVEL_7* = 16384
DVD_PARENTAL_LEVEL_6* = 8192
DVD_PARENTAL_LEVEL_5* = 4096
DVD_PARENTAL_LEVEL_4* = 2048
DVD_PARENTAL_LEVEL_3* = 1024
DVD_PARENTAL_LEVEL_2* = 512
DVD_PARENTAL_LEVEL_1* = 256enum DVD_PARENTAL_LEVEL : int {
DVD_PARENTAL_LEVEL_8 = 32768,
DVD_PARENTAL_LEVEL_7 = 16384,
DVD_PARENTAL_LEVEL_6 = 8192,
DVD_PARENTAL_LEVEL_5 = 4096,
DVD_PARENTAL_LEVEL_4 = 2048,
DVD_PARENTAL_LEVEL_3 = 1024,
DVD_PARENTAL_LEVEL_2 = 512,
DVD_PARENTAL_LEVEL_1 = 256,
}#define global DVD_PARENTAL_LEVEL_8 0x8000
#define global DVD_PARENTAL_LEVEL_7 0x4000
#define global DVD_PARENTAL_LEVEL_6 0x2000
#define global DVD_PARENTAL_LEVEL_5 0x1000
#define global DVD_PARENTAL_LEVEL_4 0x800
#define global DVD_PARENTAL_LEVEL_3 0x400
#define global DVD_PARENTAL_LEVEL_2 0x200
#define global DVD_PARENTAL_LEVEL_1 0x100