ホーム › System.WindowsSync › IConstraintConflict
IConstraintConflict
COMメソッド 12
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetDestinationProviderConflictingChange(ISyncChange** ppConflictingChange)
| ppConflictingChange | ISyncChange** | out | デスティネーション プロバイダ側の制約競合している変更 (ISyncChange) を受け取る出力ポインタである。 |
vtbl 4 HRESULT GetSourceProviderConflictingChange(ISyncChange** ppConflictingChange)
| ppConflictingChange | ISyncChange** | out | ソース プロバイダ側の制約競合している変更 (ISyncChange) を受け取る出力ポインタである。 |
vtbl 5 HRESULT GetDestinationProviderOriginalChange(ISyncChange** ppOriginalChange)
| ppOriginalChange | ISyncChange** | out | デスティネーション プロバイダ側の制約競合に関わる元の変更 (ISyncChange) を受け取る出力ポインタである。 |
| ppConflictingData | IUnknown** | out | デスティネーション プロバイダ側の制約競合しているアイテム データを受け取る出力ポインタである。 |
| ppConflictingData | IUnknown** | out | ソース プロバイダ側の制約競合しているアイテム データを受け取る出力ポインタである。 |
| ppOriginalData | IUnknown** | out | デスティネーション プロバイダ側の元のアイテム データを受け取る出力ポインタである。 |
vtbl 9 HRESULT GetConstraintResolveActionForChange(SYNC_CONSTRAINT_RESOLVE_ACTION* pConstraintResolveAction)
| pConstraintResolveAction | SYNC_CONSTRAINT_RESOLVE_ACTION* | inout | この変更全体に対する制約競合解決アクション (SYNC_CONSTRAINT_RESOLVE_ACTION) を受け取るポインタである。 |
vtbl 10 HRESULT SetConstraintResolveActionForChange(SYNC_CONSTRAINT_RESOLVE_ACTION constraintResolveAction)
| constraintResolveAction | SYNC_CONSTRAINT_RESOLVE_ACTION | in | この変更全体に適用する制約競合解決アクション (SYNC_CONSTRAINT_RESOLVE_ACTION) を指定する。 |
vtbl 11 HRESULT GetConstraintResolveActionForChangeUnit(ISyncChangeUnit* pChangeUnit, SYNC_CONSTRAINT_RESOLVE_ACTION* pConstraintResolveAction)
| pChangeUnit | ISyncChangeUnit* | in | 対象とする変更単位 (ISyncChangeUnit) へのポインタである。 |
| pConstraintResolveAction | SYNC_CONSTRAINT_RESOLVE_ACTION* | inout | 指定した変更単位に対する制約競合解決アクション (SYNC_CONSTRAINT_RESOLVE_ACTION) を受け取るポインタである。 |
vtbl 12 HRESULT SetConstraintResolveActionForChangeUnit(ISyncChangeUnit* pChangeUnit, SYNC_CONSTRAINT_RESOLVE_ACTION constraintResolveAction)
| pChangeUnit | ISyncChangeUnit* | in | 対象とする変更単位 (ISyncChangeUnit) へのポインタである。 |
| constraintResolveAction | SYNC_CONSTRAINT_RESOLVE_ACTION | in | 指定した変更単位に適用する制約競合解決アクション (SYNC_CONSTRAINT_RESOLVE_ACTION) を指定する。 |
vtbl 13 HRESULT GetConstraintConflictReason(CONSTRAINT_CONFLICT_REASON* pConstraintConflictReason)
| pConstraintConflictReason | CONSTRAINT_CONFLICT_REASON* | inout | 制約競合が発生した理由 (CONSTRAINT_CONFLICT_REASON) を受け取るポインタである。 |
vtbl 14 HRESULT IsTemporary()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IConstraintConflict "{00D2302E-1CF8-4835-B85F-B7CA4F799E0A}" #usecom global IConstraintConflict IID_IConstraintConflict "{}" #comfunc global IConstraintConflict_GetDestinationProviderConflictingChange 3 sptr #comfunc global IConstraintConflict_GetSourceProviderConflictingChange 4 sptr #comfunc global IConstraintConflict_GetDestinationProviderOriginalChange 5 sptr #comfunc global IConstraintConflict_GetDestinationProviderConflictingData 6 sptr #comfunc global IConstraintConflict_GetSourceProviderConflictingData 7 sptr #comfunc global IConstraintConflict_GetDestinationProviderOriginalData 8 sptr #comfunc global IConstraintConflict_GetConstraintResolveActionForChange 9 var #comfunc global IConstraintConflict_SetConstraintResolveActionForChange 10 int #comfunc global IConstraintConflict_GetConstraintResolveActionForChangeUnit 11 sptr,var #comfunc global IConstraintConflict_SetConstraintResolveActionForChangeUnit 12 sptr,int #comfunc global IConstraintConflict_GetConstraintConflictReason 13 var #comfunc global IConstraintConflict_IsTemporary 14 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IConstraintConflict "{00D2302E-1CF8-4835-B85F-B7CA4F799E0A}" #usecom global IConstraintConflict IID_IConstraintConflict "{}" #comfunc global IConstraintConflict_GetDestinationProviderConflictingChange 3 sptr #comfunc global IConstraintConflict_GetSourceProviderConflictingChange 4 sptr #comfunc global IConstraintConflict_GetDestinationProviderOriginalChange 5 sptr #comfunc global IConstraintConflict_GetDestinationProviderConflictingData 6 sptr #comfunc global IConstraintConflict_GetSourceProviderConflictingData 7 sptr #comfunc global IConstraintConflict_GetDestinationProviderOriginalData 8 sptr #comfunc global IConstraintConflict_GetConstraintResolveActionForChange 9 sptr #comfunc global IConstraintConflict_SetConstraintResolveActionForChange 10 int #comfunc global IConstraintConflict_GetConstraintResolveActionForChangeUnit 11 sptr,sptr #comfunc global IConstraintConflict_SetConstraintResolveActionForChangeUnit 12 sptr,int #comfunc global IConstraintConflict_GetConstraintConflictReason 13 sptr #comfunc global IConstraintConflict_IsTemporary 14 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。