ホーム › UI.Accessibility › IUIAutomationDropTargetPattern
IUIAutomationDropTargetPattern
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| retVal | LPWSTR* | out | この要素へドロップしたときに生じる効果を表すローカライズ済み文字列を受け取るポインタである。 |
| retVal | LPWSTR* | out | キャッシュされた、ドロップ先効果を表す文字列を受け取るポインタである。 |
| retVal | SAFEARRAY** | out | この要素へのドロップで発生し得るすべての効果を表す文字列を格納した SAFEARRAY を受け取るポインタである。 |
| retVal | SAFEARRAY** | out | キャッシュされた、発生し得るドロップ先効果の文字列を格納した SAFEARRAY を受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IUIAutomationDropTargetPattern "{69A095F7-EEE4-430E-A46B-FB73B1AE39A5}" #usecom global IUIAutomationDropTargetPattern IID_IUIAutomationDropTargetPattern "{}" #comfunc global IUIAutomationDropTargetPattern_get_CurrentDropTargetEffect 3 var #comfunc global IUIAutomationDropTargetPattern_get_CachedDropTargetEffect 4 var #comfunc global IUIAutomationDropTargetPattern_get_CurrentDropTargetEffects 5 var #comfunc global IUIAutomationDropTargetPattern_get_CachedDropTargetEffects 6 var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IUIAutomationDropTargetPattern "{69A095F7-EEE4-430E-A46B-FB73B1AE39A5}" #usecom global IUIAutomationDropTargetPattern IID_IUIAutomationDropTargetPattern "{}" #comfunc global IUIAutomationDropTargetPattern_get_CurrentDropTargetEffect 3 sptr #comfunc global IUIAutomationDropTargetPattern_get_CachedDropTargetEffect 4 sptr #comfunc global IUIAutomationDropTargetPattern_get_CurrentDropTargetEffects 5 sptr #comfunc global IUIAutomationDropTargetPattern_get_CachedDropTargetEffects 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。