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

IAMWstDecoder

COM
IIDc056de21-75c2-11d3-a184-00105aef9f33継承元IUnknown自前メソッド開始 vtbl3

メソッド 18

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT GetDecoderLevel(AM_WST_LEVEL* lpLevel)
lpLevelAM_WST_LEVEL*inoutデコーダの対応World System Teletextレベルを示すAM_WST_LEVEL値の出力。
vtbl 4 HRESULT GetCurrentService(AM_WST_SERVICE* lpService)
lpServiceAM_WST_SERVICE*inout現在のテレテキストサービス種別を示すAM_WST_SERVICE値の出力。
vtbl 5 HRESULT GetServiceState(AM_WST_STATE* lpState)
lpStateAM_WST_STATE*inout現在のサービス状態を示すAM_WST_STATE値の出力。
vtbl 6 HRESULT SetServiceState(AM_WST_STATE State)
StateAM_WST_STATEin設定するサービス状態を示すAM_WST_STATE値の入力。
vtbl 7 HRESULT GetOutputFormat(BITMAPINFOHEADER* lpbmih)
lpbmihBITMAPINFOHEADER*inout現在の出力ビデオ形式を受け取るBITMAPINFOHEADER構造体への出力。
vtbl 8 HRESULT SetOutputFormat(BITMAPINFO* lpbmi)
lpbmiBITMAPINFO*inout設定する出力ビデオ形式を指定するBITMAPINFO構造体への入力。
vtbl 9 HRESULT GetBackgroundColor(DWORD* pdwPhysColor)
pdwPhysColorDWORD*inout現在の背景物理カラー値をDWORD*で受け取る出力。
vtbl 10 HRESULT SetBackgroundColor(DWORD dwPhysColor)
dwPhysColorDWORDin設定する背景の物理カラー値をDWORDで指定する入力。
vtbl 11 HRESULT GetRedrawAlways(BOOL* lpbOption)
lpbOptionBOOL*inout常時再描画モードの有効状態をBOOL*で受け取る出力。
vtbl 12 HRESULT SetRedrawAlways(BOOL bOption)
bOptionBOOLin常時再描画モードを有効にするか否かのBOOL入力。
vtbl 13 HRESULT GetDrawBackgroundMode(AM_WST_DRAWBGMODE* lpMode)
lpModeAM_WST_DRAWBGMODE*inout現在の背景描画モードを示すAM_WST_DRAWBGMODE値の出力。
vtbl 14 HRESULT SetDrawBackgroundMode(AM_WST_DRAWBGMODE Mode)
ModeAM_WST_DRAWBGMODEin設定する背景描画モードを示すAM_WST_DRAWBGMODE値の入力。
vtbl 15 HRESULT SetAnswerMode(BOOL bAnswer)
bAnswerBOOLinテレテキスト解答(リビール)モードを有効にするか否かのBOOL入力。
vtbl 16 HRESULT GetAnswerMode(BOOL* pbAnswer)
pbAnswerBOOL*inout現在の解答(リビール)モード状態をBOOL*で受け取る出力。
vtbl 17 HRESULT SetHoldPage(BOOL bHoldPage)
bHoldPageBOOLin現在ページを保持(自動更新停止)するか否かのBOOL入力。
vtbl 18 HRESULT GetHoldPage(BOOL* pbHoldPage)
pbHoldPageBOOL*inout現在ページ保持モードの状態をBOOL*で受け取る出力。
vtbl 19 HRESULT GetCurrentPage(AM_WST_PAGE* pWstPage)
pWstPageAM_WST_PAGE*inout現在表示中のテレテキストページ情報をAM_WST_PAGE構造体で受け取る出力。
vtbl 20 HRESULT SetCurrentPage(AM_WST_PAGE WstPage)
WstPageAM_WST_PAGEin表示するテレテキストページを指定するAM_WST_PAGE構造体の入力。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IAMWstDecoder "{C056DE21-75C2-11D3-A184-00105AEF9F33}"
#usecom global IAMWstDecoder IID_IAMWstDecoder "{}"
#comfunc global IAMWstDecoder_GetDecoderLevel        3 var
#comfunc global IAMWstDecoder_GetCurrentService      4 var
#comfunc global IAMWstDecoder_GetServiceState        5 var
#comfunc global IAMWstDecoder_SetServiceState        6 int
#comfunc global IAMWstDecoder_GetOutputFormat        7 var
#comfunc global IAMWstDecoder_SetOutputFormat        8 var
#comfunc global IAMWstDecoder_GetBackgroundColor     9 var
#comfunc global IAMWstDecoder_SetBackgroundColor     10 int
#comfunc global IAMWstDecoder_GetRedrawAlways        11 var
#comfunc global IAMWstDecoder_SetRedrawAlways        12 int
#comfunc global IAMWstDecoder_GetDrawBackgroundMode  13 var
#comfunc global IAMWstDecoder_SetDrawBackgroundMode  14 int
#comfunc global IAMWstDecoder_SetAnswerMode          15 int
#comfunc global IAMWstDecoder_GetAnswerMode          16 var
#comfunc global IAMWstDecoder_SetHoldPage            17 int
#comfunc global IAMWstDecoder_GetHoldPage            18 var
#comfunc global IAMWstDecoder_GetCurrentPage         19 var
#comfunc global IAMWstDecoder_SetCurrentPage         20 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。