vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IAzScope "{00E52487-E08D-4514-B62E-877D5645F5AB}"
#usecom global IAzScope IID_IAzScope "{}"
#comfunc global IAzScope_get_Name 7 var
#comfunc global IAzScope_put_Name 8 wstr
#comfunc global IAzScope_get_Description 9 var
#comfunc global IAzScope_put_Description 10 wstr
#comfunc global IAzScope_get_ApplicationData 11 var
#comfunc global IAzScope_put_ApplicationData 12 wstr
#comfunc global IAzScope_get_Writable 13 var
#comfunc global IAzScope_GetProperty 14 int,int,var
#comfunc global IAzScope_SetProperty 15 int,int,int
#comfunc global IAzScope_AddPropertyItem 16 int,int,int
#comfunc global IAzScope_DeletePropertyItem 17 int,int,int
#comfunc global IAzScope_get_PolicyAdministrators 18 var
#comfunc global IAzScope_get_PolicyReaders 19 var
#comfunc global IAzScope_AddPolicyAdministrator 20 wstr,int
#comfunc global IAzScope_DeletePolicyAdministrator 21 wstr,int
#comfunc global IAzScope_AddPolicyReader 22 wstr,int
#comfunc global IAzScope_DeletePolicyReader 23 wstr,int
#comfunc global IAzScope_get_ApplicationGroups 24 sptr
#comfunc global IAzScope_OpenApplicationGroup 25 wstr,int,sptr
#comfunc global IAzScope_CreateApplicationGroup 26 wstr,int,sptr
#comfunc global IAzScope_DeleteApplicationGroup 27 wstr,int
#comfunc global IAzScope_get_Roles 28 sptr
#comfunc global IAzScope_OpenRole 29 wstr,int,sptr
#comfunc global IAzScope_CreateRole 30 wstr,int,sptr
#comfunc global IAzScope_DeleteRole 31 wstr,int
#comfunc global IAzScope_get_Tasks 32 sptr
#comfunc global IAzScope_OpenTask 33 wstr,int,sptr
#comfunc global IAzScope_CreateTask 34 wstr,int,sptr
#comfunc global IAzScope_DeleteTask 35 wstr,int
#comfunc global IAzScope_Submit 36 int,int
#comfunc global IAzScope_get_CanBeDelegated 37 var
#comfunc global IAzScope_get_BizrulesWritable 38 var
#comfunc global IAzScope_get_PolicyAdministratorsName 39 var
#comfunc global IAzScope_get_PolicyReadersName 40 var
#comfunc global IAzScope_AddPolicyAdministratorName 41 wstr,int
#comfunc global IAzScope_DeletePolicyAdministratorName 42 wstr,int
#comfunc global IAzScope_AddPolicyReaderName 43 wstr,int
#comfunc global IAzScope_DeletePolicyReaderName 44 wstr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IAzScope "{00E52487-E08D-4514-B62E-877D5645F5AB}"
#usecom global IAzScope IID_IAzScope "{}"
#comfunc global IAzScope_get_Name 7 sptr
#comfunc global IAzScope_put_Name 8 wstr
#comfunc global IAzScope_get_Description 9 sptr
#comfunc global IAzScope_put_Description 10 wstr
#comfunc global IAzScope_get_ApplicationData 11 sptr
#comfunc global IAzScope_put_ApplicationData 12 wstr
#comfunc global IAzScope_get_Writable 13 sptr
#comfunc global IAzScope_GetProperty 14 int,int,sptr
#comfunc global IAzScope_SetProperty 15 int,int,int
#comfunc global IAzScope_AddPropertyItem 16 int,int,int
#comfunc global IAzScope_DeletePropertyItem 17 int,int,int
#comfunc global IAzScope_get_PolicyAdministrators 18 sptr
#comfunc global IAzScope_get_PolicyReaders 19 sptr
#comfunc global IAzScope_AddPolicyAdministrator 20 wstr,int
#comfunc global IAzScope_DeletePolicyAdministrator 21 wstr,int
#comfunc global IAzScope_AddPolicyReader 22 wstr,int
#comfunc global IAzScope_DeletePolicyReader 23 wstr,int
#comfunc global IAzScope_get_ApplicationGroups 24 sptr
#comfunc global IAzScope_OpenApplicationGroup 25 wstr,int,sptr
#comfunc global IAzScope_CreateApplicationGroup 26 wstr,int,sptr
#comfunc global IAzScope_DeleteApplicationGroup 27 wstr,int
#comfunc global IAzScope_get_Roles 28 sptr
#comfunc global IAzScope_OpenRole 29 wstr,int,sptr
#comfunc global IAzScope_CreateRole 30 wstr,int,sptr
#comfunc global IAzScope_DeleteRole 31 wstr,int
#comfunc global IAzScope_get_Tasks 32 sptr
#comfunc global IAzScope_OpenTask 33 wstr,int,sptr
#comfunc global IAzScope_CreateTask 34 wstr,int,sptr
#comfunc global IAzScope_DeleteTask 35 wstr,int
#comfunc global IAzScope_Submit 36 int,int
#comfunc global IAzScope_get_CanBeDelegated 37 sptr
#comfunc global IAzScope_get_BizrulesWritable 38 sptr
#comfunc global IAzScope_get_PolicyAdministratorsName 39 sptr
#comfunc global IAzScope_get_PolicyReadersName 40 sptr
#comfunc global IAzScope_AddPolicyAdministratorName 41 wstr,int
#comfunc global IAzScope_DeletePolicyAdministratorName 42 wstr,int
#comfunc global IAzScope_AddPolicyReaderName 43 wstr,int
#comfunc global IAzScope_DeletePolicyReaderName 44 wstr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。