#define global IID_ILocationReportFactory "{2DAEC322-90B2-47E4-BB08-0DA841935A6B}"
#usecom global ILocationReportFactory IID_ILocationReportFactory "{}"
#comfunc global ILocationReportFactory_ListenForReports 7 int
#comfunc global ILocationReportFactory_StopListeningForReports 8
#comfunc global ILocationReportFactory_get_Status 9 var
#comfunc global ILocationReportFactory_get_ReportInterval 10 var
#comfunc global ILocationReportFactory_put_ReportInterval 11 int
#comfunc global ILocationReportFactory_get_DesiredAccuracy 12 var
#comfunc global ILocationReportFactory_put_DesiredAccuracy 13 int
#comfunc global ILocationReportFactory_RequestPermissions 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ILocationReportFactory "{2DAEC322-90B2-47E4-BB08-0DA841935A6B}"
#usecom global ILocationReportFactory IID_ILocationReportFactory "{}"
#comfunc global ILocationReportFactory_ListenForReports 7 int
#comfunc global ILocationReportFactory_StopListeningForReports 8
#comfunc global ILocationReportFactory_get_Status 9 sptr
#comfunc global ILocationReportFactory_get_ReportInterval 10 sptr
#comfunc global ILocationReportFactory_put_ReportInterval 11 int
#comfunc global ILocationReportFactory_get_DesiredAccuracy 12 sptr
#comfunc global ILocationReportFactory_put_DesiredAccuracy 13 int
#comfunc global ILocationReportFactory_RequestPermissions 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。