IDirectManipulationDeferContactService::DeferContact method (directmanipulation.h)
Specifies the amount of time to defer the execution of a call to SetContact for this pointerId.
DeferContact must be called before SetContact.
Syntax
HRESULT DeferContact(
[in] UINT32 pointerId,
[in] UINT32 timeout
);
Parameters
[in] pointerId
The ID of the pointer.
[in] timeout
The duration of the deferral, in milliseconds. The maximum value is 500.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |