ホーム › Media.DirectShow › BDA_TS_SELECTORINFO_ISDBS_EXT
BDA_TS_SELECTORINFO_ISDBS_EXT
構造体サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。
フィールド
| フィールド | 型 | サイズ | x64 | x86 | 説明 |
|---|---|---|---|---|---|
| bTMCC | BYTE | 48 | +0 | +0 | ISDB-S拡張のTMCC情報。伝送多重制御情報を示すバイト。 |
各言語での定義
#include <windows.h>
// BDA_TS_SELECTORINFO_ISDBS_EXT (x64 48 / x86 48 バイト)
typedef struct BDA_TS_SELECTORINFO_ISDBS_EXT {
BYTE bTMCC[48];
} BDA_TS_SELECTORINFO_ISDBS_EXT;using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct BDA_TS_SELECTORINFO_ISDBS_EXT
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 48)] public byte[] bTMCC;
}Imports System.Runtime.InteropServices
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)>
Public Structure BDA_TS_SELECTORINFO_ISDBS_EXT
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=48)> Public bTMCC() As Byte
End Structureimport ctypes
from ctypes import wintypes
class BDA_TS_SELECTORINFO_ISDBS_EXT(ctypes.Structure):
_fields_ = [
("bTMCC", ctypes.c_ubyte * 48),
]#[repr(C)]
pub struct BDA_TS_SELECTORINFO_ISDBS_EXT {
pub bTMCC: [u8; 48],
}import "golang.org/x/sys/windows"
type BDA_TS_SELECTORINFO_ISDBS_EXT struct {
bTMCC [48]byte
}type
BDA_TS_SELECTORINFO_ISDBS_EXT = record
bTMCC: array[0..47] of Byte;
end;const BDA_TS_SELECTORINFO_ISDBS_EXT = extern struct {
bTMCC: [48]u8,
};type
BDA_TS_SELECTORINFO_ISDBS_EXT {.bycopy.} = object
bTMCC: array[48, uint8]struct BDA_TS_SELECTORINFO_ISDBS_EXT
{
ubyte[48] bTMCC;
}HSP用 定義
HSP3.7/3.8 は構造体機能が無いため4byte整数配列(dim)+peek/poke で操作(32/64bitでサイズ・位置が異なる場合はタブで分割)。IronHSP は NSTRUCT(#defstruct/stdim/->)で32/64bit共通。
; HSP3.7/3.8 は構造体機能が無いため、4byte整数の配列変数で操作します。(x64 レイアウト)
; BDA_TS_SELECTORINFO_ISDBS_EXT サイズ: 48 バイト(x64)
dim st, 12 ; 4byte整数×12(構造体サイズ 48 / 4 切り上げ)
; bTMCC : BYTE (+0, 48byte) varptr(st)+0 を基点に操作(48byte:入れ子/配列)
; ※4byte境界の整数は添字 st.N(N=オフセット/4)で読み書き可。それ以外は peek/poke 系を使用。; IronHSP は NSTRUCT(構造体)をサポート。32bit/64bit どちらでも同じコードで動作します。
#defstruct global BDA_TS_SELECTORINFO_ISDBS_EXT
#field byte bTMCC 48
#endstruct
stdim st, BDA_TS_SELECTORINFO_ISDBS_EXT ; NSTRUCT 変数を確保