Win32 API 日本語リファレンス
ホームUI.Accessibility › IUIAutomationAnnotationPattern

IUIAutomationAnnotationPattern

COM
IID9a175b21-339e-41b1-8e8b-623f6b681098継承元IUnknown自前メソッド開始 vtbl3

メソッド 10

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT get_CurrentAnnotationTypeId(UIA_ANNOTATIONTYPE* retVal)
retValUIA_ANNOTATIONTYPE*out注釈の種類を識別する現在の注釈タイプ ID を受け取るポインタである。
vtbl 4 HRESULT get_CurrentAnnotationTypeName(LPWSTR* retVal)
retValLPWSTR*out現在の注釈タイプの名前を受け取る文字列ポインタへのポインタである。
vtbl 5 HRESULT get_CurrentAuthor(LPWSTR* retVal)
retValLPWSTR*out注釈の作成者名を受け取る文字列ポインタへのポインタである。
vtbl 6 HRESULT get_CurrentDateTime(LPWSTR* retVal)
retValLPWSTR*out注釈が作成された日時を表す文字列を受け取る文字列ポインタへのポインタである。
vtbl 7 HRESULT get_CurrentTarget(IUIAutomationElement** retVal)
retValIUIAutomationElement**out注釈の対象となっている要素を受け取るインターフェイスポインタへのポインタである。
vtbl 8 HRESULT get_CachedAnnotationTypeId(UIA_ANNOTATIONTYPE* retVal)
retValUIA_ANNOTATIONTYPE*outキャッシュされた注釈タイプ ID を受け取るポインタである。
vtbl 9 HRESULT get_CachedAnnotationTypeName(LPWSTR* retVal)
retValLPWSTR*outキャッシュされた注釈タイプの名前を受け取る文字列ポインタへのポインタである。
vtbl 10 HRESULT get_CachedAuthor(LPWSTR* retVal)
retValLPWSTR*outキャッシュされた注釈の作成者名を受け取る文字列ポインタへのポインタである。
vtbl 11 HRESULT get_CachedDateTime(LPWSTR* retVal)
retValLPWSTR*outキャッシュされた注釈の作成日時を表す文字列を受け取る文字列ポインタへのポインタである。
vtbl 12 HRESULT get_CachedTarget(IUIAutomationElement** retVal)
retValIUIAutomationElement**outキャッシュされた、注釈の対象となっている要素を受け取るインターフェイスポインタへのポインタである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IUIAutomationAnnotationPattern "{9A175B21-339E-41B1-8E8B-623F6B681098}"
#usecom global IUIAutomationAnnotationPattern IID_IUIAutomationAnnotationPattern "{}"
#comfunc global IUIAutomationAnnotationPattern_get_CurrentAnnotationTypeId    3 var
#comfunc global IUIAutomationAnnotationPattern_get_CurrentAnnotationTypeName  4 var
#comfunc global IUIAutomationAnnotationPattern_get_CurrentAuthor              5 var
#comfunc global IUIAutomationAnnotationPattern_get_CurrentDateTime            6 var
#comfunc global IUIAutomationAnnotationPattern_get_CurrentTarget              7 sptr
#comfunc global IUIAutomationAnnotationPattern_get_CachedAnnotationTypeId     8 var
#comfunc global IUIAutomationAnnotationPattern_get_CachedAnnotationTypeName   9 var
#comfunc global IUIAutomationAnnotationPattern_get_CachedAuthor               10 var
#comfunc global IUIAutomationAnnotationPattern_get_CachedDateTime             11 var
#comfunc global IUIAutomationAnnotationPattern_get_CachedTarget               12 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。