GetHandwritingStrokeIdForPointer 函式 (shellhandwriting.h)
擷取與指定指標標識符相關聯的筆墨筆劃唯一標識碼。
語法
HRESULT GetHandwritingStrokeIdForPointer(
[in] UINT32 pointerId,
[out] UINT64 *handwritingStrokeId
);
參數
[in] pointerId
與筆跡筆劃相關聯的指標標識符。
[out] handwritingStrokeId
與 pointerId相關聯的筆墨筆劃標識碼。
傳回值
如果方法成功,則會傳回 S_OK;否則,它會傳回 HRESULT 錯誤碼。
備註
使用 SetHandwritingState 函 式將目前的手寫狀態設定為 TF_HANDWRITING_POINTERDELIVERY 的客戶端必須呼叫此函式,以擷取由 WM_POINTERDOWN 訊息啟動之筆劃的唯一標識符, (傳遞至 RequestHandwritingForPointer 函 式) 。
此函式必須在處理WM_POINTERDOWN訊息的相同線程上呼叫。
規格需求
需求 | 值 |
---|---|
標頭 | shellhandwriting.h |