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