ITfFocusHandwritingTargetArgs::GetPointerTargetInfo 方法 (shellhandwriting.h)
語法
HRESULT GetPointerTargetInfo(
[out, optional] HWND *targetWindow,
[out, optional] RECT *targetScreenArea,
[out, optional] SIZE *distanceThreshold
);
參數
[out, optional] targetWindow
指標輸入的目標視窗。
[out, optional] targetScreenArea
指標輸入的目標區域。
此值是以每英吋的點數 (DPI) 感知與 Text Services Framework (TSF) 線程管理員對象相關聯的目前線程。
[out, optional] distanceThreshold
從 targetScreenPoint 啟用手寫功能的有效編輯控件 (垂直和水準) 距離。
此值是以每英吋點 (DPI) 與 TSF 線程管理員對象相關聯之目前線程的感知為基礎。
傳回值
如果此函式成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
需求 | 值 |
---|---|
標頭 | shellhandwriting.h |