IDirectManipulationDeferContactService::CancelContact method (directmanipulation.h)

Cancel all scheduled calls to SetContact for this pointerId.

Syntax

HRESULT CancelContact(
  [in] UINT32 pointerId
);

Parameters

[in] pointerId

The ID of the pointer.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function fails if the timeout specified in DeferContact has already been reached.

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

See also

IDirectManipulationDeferContactService