ホーム › System.UpdateAgent › IUpdateServiceManager
IUpdateServiceManager
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 7
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_Services(IUpdateServiceCollection** retval) |
| 8 | HRESULT AddService(LPWSTR serviceID, LPWSTR authorizationCabPath, IUpdateService** retval) |
| 9 | HRESULT RegisterServiceWithAU(LPWSTR serviceID) |
| 10 | HRESULT RemoveService(LPWSTR serviceID) |
| 11 | HRESULT UnregisterServiceWithAU(LPWSTR serviceID) |
| 12 | HRESULT AddScanPackageService(LPWSTR serviceName, LPWSTR scanFileLocation, INT flags, IUpdateService** ppService) |
| 13 | HRESULT SetOption(LPWSTR optionName, VARIANT optionValue) |