GetPropertyInteractionContext function (interactioncontext.h)
Gets Interaction Context object properties.
Syntax
HRESULT GetPropertyInteractionContext(
[in] HINTERACTIONCONTEXT interactionContext,
[in] INTERACTION_CONTEXT_PROPERTY contextProperty,
[out] UINT32 *value
);
Parameters
[in] interactionContext
Handle to the Interaction Context object.
[in] contextProperty
One of the constants identified by INTERACTION_CONTEXT_PROPERTY.
[out] value
The value of the property.
Valid values for contextProperty are:
INTERACTION_CONTEXT_PROPERTY_MEASUREMENT_UNITS | Meaning |
---|---|
|
Measurement units are HIMETRIC units (0.01 mm). |
|
Measurement units are screen pixels. This is the default value. |
INTERACTION_CONTEXT_PROPERTY_UI_FEEDBACK | Meaning |
---|---|
|
Visual feedback for user interactions is disabled (the caller is responsible for displaying visual feedback). For more info, see Input Feedback Configuration. |
|
Visual feedback for user interactions is enabled. This is the default value. For more info, see Input Feedback Configuration. |
INTERACTION_CONTEXT_PROPERTY_FILTER_POINTERS | Meaning |
---|---|
|
Pointer filtering is disabled (all pointer input data is processed). |
|
Pointer filtering is enabled (only pointers specified through AddPointerInteractionContext are processed). This is the default value. |
Return value
If this function succeeds, it returns S_OK.
Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | interactioncontext.h |
Library | Ninput.lib |
DLL | Ninput.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for