DIRECTMANIPULATION_HITTEST_TYPE enumeration (directmanipulation.h)

Defines how hit testing is handled by Direct Manipulation when using a dedicated hit-test thread registered through RegisterHitTestTarget.

Syntax

typedef enum DIRECTMANIPULATION_HITTEST_TYPE {
  DIRECTMANIPULATION_HITTEST_TYPE_ASYNCHRONOUS = 0,
  DIRECTMANIPULATION_HITTEST_TYPE_SYNCHRONOUS = 0x1,
  DIRECTMANIPULATION_HITTEST_TYPE_AUTO_SYNCHRONOUS = 0x2
} ;

Constants

 
DIRECTMANIPULATION_HITTEST_TYPE_ASYNCHRONOUS
Value: 0
The hit-test thread receives WM_POINTERDOWN messages and specifies whether to call SetContact. If SetContact is not called, the contact will not be associated with a viewport.
DIRECTMANIPULATION_HITTEST_TYPE_SYNCHRONOUS
Value: 0x1
The UI thread always receives WM_POINTERDOWN messages after the hit-test thread. A call to SetContact is not required.
DIRECTMANIPULATION_HITTEST_TYPE_AUTO_SYNCHRONOUS
Value: 0x2
The UI thread receives WM_POINTERDOWN messages only when SetContact isn't called by the hit-test thread.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header directmanipulation.h

See also

Direct Manipulation Enumerations