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

ITextInputPanelEventSink

COM
IID27560408-8e64-4fe1-804e-421201584b31継承元IUnknown自前メソッド開始 vtbl3

メソッド 12

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

vtbl 3 HRESULT InPlaceStateChanging(InPlaceState oldInPlaceState, InPlaceState newInPlaceState)
oldInPlaceStateInPlaceStatein変更前のインプレース状態を示す InPlaceState 値である。
newInPlaceStateInPlaceStatein変更後のインプレース状態を示す InPlaceState 値である。
vtbl 4 HRESULT InPlaceStateChanged(InPlaceState oldInPlaceState, InPlaceState newInPlaceState)
oldInPlaceStateInPlaceStatein変更前のインプレース状態を示す InPlaceState 値である。
newInPlaceStateInPlaceStatein変更後のインプレース状態を示す InPlaceState 値である。
vtbl 5 HRESULT InPlaceSizeChanging(RECT oldBoundingRectangle, RECT newBoundingRectangle)
oldBoundingRectangleRECTin変更前のインプレース パネルの境界矩形を示す RECT である。
newBoundingRectangleRECTin変更後のインプレース パネルの境界矩形を示す RECT である。
vtbl 6 HRESULT InPlaceSizeChanged(RECT oldBoundingRectangle, RECT newBoundingRectangle)
oldBoundingRectangleRECTin変更前のインプレース パネルの境界矩形を示す RECT である。
newBoundingRectangleRECTin変更後のインプレース パネルの境界矩形を示す RECT である。
vtbl 7 HRESULT InputAreaChanging(PanelInputArea oldInputArea, PanelInputArea newInputArea)
oldInputAreaPanelInputAreain変更前の入力領域を示す PanelInputArea 値である。
newInputAreaPanelInputAreain変更後の入力領域を示す PanelInputArea 値である。
vtbl 8 HRESULT InputAreaChanged(PanelInputArea oldInputArea, PanelInputArea newInputArea)
oldInputAreaPanelInputAreain変更前の入力領域を示す PanelInputArea 値である。
newInputAreaPanelInputAreain変更後の入力領域を示す PanelInputArea 値である。
vtbl 9 HRESULT CorrectionModeChanging(CorrectionMode oldCorrectionMode, CorrectionMode newCorrectionMode)
oldCorrectionModeCorrectionModein変更前の修正モードを示す CorrectionMode 値である。
newCorrectionModeCorrectionModein変更後の修正モードを示す CorrectionMode 値である。
vtbl 10 HRESULT CorrectionModeChanged(CorrectionMode oldCorrectionMode, CorrectionMode newCorrectionMode)
oldCorrectionModeCorrectionModein変更前の修正モードを示す CorrectionMode 値である。
newCorrectionModeCorrectionModein変更後の修正モードを示す CorrectionMode 値である。
vtbl 11 HRESULT InPlaceVisibilityChanging(BOOL oldVisible, BOOL newVisible)
oldVisibleBOOLin変更前のインプレース表示状態を示す BOOL である。
newVisibleBOOLin変更後のインプレース表示状態を示す BOOL である。
vtbl 12 HRESULT InPlaceVisibilityChanged(BOOL oldVisible, BOOL newVisible)
oldVisibleBOOLin変更前のインプレース表示状態を示す BOOL である。
newVisibleBOOLin変更後のインプレース表示状態を示す BOOL である。
vtbl 13 HRESULT TextInserting(SAFEARRAY* Ink)
InkSAFEARRAY*in挿入されようとしているインク データを格納した SAFEARRAY へのポインタである。
vtbl 14 HRESULT TextInserted(SAFEARRAY* Ink)
InkSAFEARRAY*in挿入が完了したインク データを格納した SAFEARRAY へのポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_ITextInputPanelEventSink "{27560408-8E64-4FE1-804E-421201584B31}"
#usecom global ITextInputPanelEventSink IID_ITextInputPanelEventSink "{}"
#comfunc global ITextInputPanelEventSink_InPlaceStateChanging       3 int,int
#comfunc global ITextInputPanelEventSink_InPlaceStateChanged        4 int,int
#comfunc global ITextInputPanelEventSink_InPlaceSizeChanging        5 int,int
#comfunc global ITextInputPanelEventSink_InPlaceSizeChanged         6 int,int
#comfunc global ITextInputPanelEventSink_InputAreaChanging          7 int,int
#comfunc global ITextInputPanelEventSink_InputAreaChanged           8 int,int
#comfunc global ITextInputPanelEventSink_CorrectionModeChanging     9 int,int
#comfunc global ITextInputPanelEventSink_CorrectionModeChanged      10 int,int
#comfunc global ITextInputPanelEventSink_InPlaceVisibilityChanging  11 int,int
#comfunc global ITextInputPanelEventSink_InPlaceVisibilityChanged   12 int,int
#comfunc global ITextInputPanelEventSink_TextInserting              13 var
#comfunc global ITextInputPanelEventSink_TextInserted               14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。