#define global IID_IWiaDrvItem "{1F02B5C5-B00C-11D2-A094-00C04F72DC3C}"
#usecom global IWiaDrvItem IID_IWiaDrvItem "{}"
#comfunc global IWiaDrvItem_GetItemFlags 3 var
#comfunc global IWiaDrvItem_GetDeviceSpecContext 4 var
#comfunc global IWiaDrvItem_GetFullItemName 5 var
#comfunc global IWiaDrvItem_GetItemName 6 var
#comfunc global IWiaDrvItem_AddItemToFolder 7 sptr
#comfunc global IWiaDrvItem_UnlinkItemTree 8 int
#comfunc global IWiaDrvItem_RemoveItemFromFolder 9 int
#comfunc global IWiaDrvItem_FindItemByName 10 int,wstr,sptr
#comfunc global IWiaDrvItem_FindChildItemByName 11 wstr,sptr
#comfunc global IWiaDrvItem_GetParentItem 12 sptr
#comfunc global IWiaDrvItem_GetFirstChildItem 13 sptr
#comfunc global IWiaDrvItem_GetNextSiblingItem 14 sptr
#comfunc global IWiaDrvItem_DumpItemData 15 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IWiaDrvItem "{1F02B5C5-B00C-11D2-A094-00C04F72DC3C}"
#usecom global IWiaDrvItem IID_IWiaDrvItem "{}"
#comfunc global IWiaDrvItem_GetItemFlags 3 sptr
#comfunc global IWiaDrvItem_GetDeviceSpecContext 4 sptr
#comfunc global IWiaDrvItem_GetFullItemName 5 sptr
#comfunc global IWiaDrvItem_GetItemName 6 sptr
#comfunc global IWiaDrvItem_AddItemToFolder 7 sptr
#comfunc global IWiaDrvItem_UnlinkItemTree 8 int
#comfunc global IWiaDrvItem_RemoveItemFromFolder 9 int
#comfunc global IWiaDrvItem_FindItemByName 10 int,wstr,sptr
#comfunc global IWiaDrvItem_FindChildItemByName 11 wstr,sptr
#comfunc global IWiaDrvItem_GetParentItem 12 sptr
#comfunc global IWiaDrvItem_GetFirstChildItem 13 sptr
#comfunc global IWiaDrvItem_GetNextSiblingItem 14 sptr
#comfunc global IWiaDrvItem_DumpItemData 15 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。