#define global IID_IWMRegisteredDevice "{A4503BEC-5508-4148-97AC-BFA75760A70D}"
#usecom global IWMRegisteredDevice IID_IWMRegisteredDevice "{}"
#comfunc global IWMRegisteredDevice_GetDeviceSerialNumber 3 var
#comfunc global IWMRegisteredDevice_GetDeviceCertificate 4 sptr
#comfunc global IWMRegisteredDevice_GetDeviceType 5 var
#comfunc global IWMRegisteredDevice_GetAttributeCount 6 var
#comfunc global IWMRegisteredDevice_GetAttributeByIndex 7 int,var,var
#comfunc global IWMRegisteredDevice_GetAttributeByName 8 wstr,var
#comfunc global IWMRegisteredDevice_SetAttributeByName 9 wstr,wstr
#comfunc global IWMRegisteredDevice_Approve 10 int
#comfunc global IWMRegisteredDevice_IsValid 11 var
#comfunc global IWMRegisteredDevice_IsApproved 12 var
#comfunc global IWMRegisteredDevice_IsWmdrmCompliant 13 var
#comfunc global IWMRegisteredDevice_IsOpened 14 var
#comfunc global IWMRegisteredDevice_Open 15
#comfunc global IWMRegisteredDevice_Close 16
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IWMRegisteredDevice "{A4503BEC-5508-4148-97AC-BFA75760A70D}"
#usecom global IWMRegisteredDevice IID_IWMRegisteredDevice "{}"
#comfunc global IWMRegisteredDevice_GetDeviceSerialNumber 3 sptr
#comfunc global IWMRegisteredDevice_GetDeviceCertificate 4 sptr
#comfunc global IWMRegisteredDevice_GetDeviceType 5 sptr
#comfunc global IWMRegisteredDevice_GetAttributeCount 6 sptr
#comfunc global IWMRegisteredDevice_GetAttributeByIndex 7 int,sptr,sptr
#comfunc global IWMRegisteredDevice_GetAttributeByName 8 wstr,sptr
#comfunc global IWMRegisteredDevice_SetAttributeByName 9 wstr,wstr
#comfunc global IWMRegisteredDevice_Approve 10 int
#comfunc global IWMRegisteredDevice_IsValid 11 sptr
#comfunc global IWMRegisteredDevice_IsApproved 12 sptr
#comfunc global IWMRegisteredDevice_IsWmdrmCompliant 13 sptr
#comfunc global IWMRegisteredDevice_IsOpened 14 sptr
#comfunc global IWMRegisteredDevice_Open 15
#comfunc global IWMRegisteredDevice_Close 16
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。