#define global IID_IUPnPDevice "{3D44D0D1-98C9-4889-ACD1-F9D674BF2221}"
#usecom global IUPnPDevice IID_IUPnPDevice "{}"
#comfunc global IUPnPDevice_get_IsRootDevice 7 var
#comfunc global IUPnPDevice_get_RootDevice 8 sptr
#comfunc global IUPnPDevice_get_ParentDevice 9 sptr
#comfunc global IUPnPDevice_get_HasChildren 10 var
#comfunc global IUPnPDevice_get_Children 11 sptr
#comfunc global IUPnPDevice_get_UniqueDeviceName 12 var
#comfunc global IUPnPDevice_get_FriendlyName 13 var
#comfunc global IUPnPDevice_get_Type 14 var
#comfunc global IUPnPDevice_get_PresentationURL 15 var
#comfunc global IUPnPDevice_get_ManufacturerName 16 var
#comfunc global IUPnPDevice_get_ManufacturerURL 17 var
#comfunc global IUPnPDevice_get_ModelName 18 var
#comfunc global IUPnPDevice_get_ModelNumber 19 var
#comfunc global IUPnPDevice_get_Description 20 var
#comfunc global IUPnPDevice_get_ModelURL 21 var
#comfunc global IUPnPDevice_get_UPC 22 var
#comfunc global IUPnPDevice_get_SerialNumber 23 var
#comfunc global IUPnPDevice_IconURL 24 wstr,int,int,int,var
#comfunc global IUPnPDevice_get_Services 25 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IUPnPDevice "{3D44D0D1-98C9-4889-ACD1-F9D674BF2221}"
#usecom global IUPnPDevice IID_IUPnPDevice "{}"
#comfunc global IUPnPDevice_get_IsRootDevice 7 sptr
#comfunc global IUPnPDevice_get_RootDevice 8 sptr
#comfunc global IUPnPDevice_get_ParentDevice 9 sptr
#comfunc global IUPnPDevice_get_HasChildren 10 sptr
#comfunc global IUPnPDevice_get_Children 11 sptr
#comfunc global IUPnPDevice_get_UniqueDeviceName 12 sptr
#comfunc global IUPnPDevice_get_FriendlyName 13 sptr
#comfunc global IUPnPDevice_get_Type 14 sptr
#comfunc global IUPnPDevice_get_PresentationURL 15 sptr
#comfunc global IUPnPDevice_get_ManufacturerName 16 sptr
#comfunc global IUPnPDevice_get_ManufacturerURL 17 sptr
#comfunc global IUPnPDevice_get_ModelName 18 sptr
#comfunc global IUPnPDevice_get_ModelNumber 19 sptr
#comfunc global IUPnPDevice_get_Description 20 sptr
#comfunc global IUPnPDevice_get_ModelURL 21 sptr
#comfunc global IUPnPDevice_get_UPC 22 sptr
#comfunc global IUPnPDevice_get_SerialNumber 23 sptr
#comfunc global IUPnPDevice_IconURL 24 wstr,int,int,int,sptr
#comfunc global IUPnPDevice_get_Services 25 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。