#define global IID_IComponentType "{6A340DC0-0311-11D3-9D8E-00C04F72D980}"
#usecom global IComponentType IID_IComponentType "{823535A0-0318-11D3-9D8E-00C04F72D980}"
#comfunc global IComponentType_get_Category 7 var
#comfunc global IComponentType_put_Category 8 int
#comfunc global IComponentType_get_MediaMajorType 9 var
#comfunc global IComponentType_put_MediaMajorType 10 wstr
#comfunc global IComponentType_get__MediaMajorType 11 var
#comfunc global IComponentType_put__MediaMajorType 12 var
#comfunc global IComponentType_get_MediaSubType 13 var
#comfunc global IComponentType_put_MediaSubType 14 wstr
#comfunc global IComponentType_get__MediaSubType 15 var
#comfunc global IComponentType_put__MediaSubType 16 var
#comfunc global IComponentType_get_MediaFormatType 17 var
#comfunc global IComponentType_put_MediaFormatType 18 wstr
#comfunc global IComponentType_get__MediaFormatType 19 var
#comfunc global IComponentType_put__MediaFormatType 20 var
#comfunc global IComponentType_get_MediaType 21 var
#comfunc global IComponentType_put_MediaType 22 var
#comfunc global IComponentType_Clone 23 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IComponentType "{6A340DC0-0311-11D3-9D8E-00C04F72D980}"
#usecom global IComponentType IID_IComponentType "{823535A0-0318-11D3-9D8E-00C04F72D980}"
#comfunc global IComponentType_get_Category 7 sptr
#comfunc global IComponentType_put_Category 8 int
#comfunc global IComponentType_get_MediaMajorType 9 sptr
#comfunc global IComponentType_put_MediaMajorType 10 wstr
#comfunc global IComponentType_get__MediaMajorType 11 sptr
#comfunc global IComponentType_put__MediaMajorType 12 sptr
#comfunc global IComponentType_get_MediaSubType 13 sptr
#comfunc global IComponentType_put_MediaSubType 14 wstr
#comfunc global IComponentType_get__MediaSubType 15 sptr
#comfunc global IComponentType_put__MediaSubType 16 sptr
#comfunc global IComponentType_get_MediaFormatType 17 sptr
#comfunc global IComponentType_put_MediaFormatType 18 wstr
#comfunc global IComponentType_get__MediaFormatType 19 sptr
#comfunc global IComponentType_put__MediaFormatType 20 sptr
#comfunc global IComponentType_get_MediaType 21 sptr
#comfunc global IComponentType_put_MediaType 22 sptr
#comfunc global IComponentType_Clone 23 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。