IDirectManipulationDeferContactService::CancelContact 方法 (directmanipulation.h)
取消此pointerId之SetContact的所有排程呼叫。
語法
HRESULT CancelContact(
[in] UINT32 pointerId
);
參數
[in] pointerId
指標的識別碼。
傳回值
如果方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
備註
如果已達到 DeferContact 中指定的逾時,此函式就會失敗。
需求
最低支援的用戶端 | Windows 10 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2016 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | directmanipulation.h |