InjectedInputPointerInfo InjectedInputPointerInfo InjectedInputPointerInfo InjectedInputPointerInfo Struct

Definition

Contains basic pointer information common to all pointer types.

Note

The APIs in this namespace require the inputInjectionBrokered restricted capability.

public : struct InjectedInputPointerInfopublic struct InjectedInputPointerInfoPublic Structure InjectedInputPointerInfo// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Using input injection requires the following be added to the Package.appxmanifest:

  • To <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • To <Capabilities>
    • <rescap:Capability Name="inputInjectionBrokered" />

Fields

PerformanceCount PerformanceCount PerformanceCount PerformanceCount

A high resolution (less than one microsecond) time stamp used for time-interval measurements.

public : field ulong PerformanceCountpublic field ulong PerformanceCountPublic Field PerformanceCount// You can use this field in JavaScript.

PixelLocation PixelLocation PixelLocation PixelLocation

The screen coordinates of the pointer in device-independent pixel (DIP).

public : field InjectedInputPoint PixelLocationpublic field InjectedInputPoint PixelLocationPublic Field PixelLocation// You can use this field in JavaScript.

PointerId PointerId PointerId PointerId

A unique identifier for the lifetime of the pointer. A pointer is created when it enters detection range and destroyed when it leaves detection range. If a pointer goes out of detection range and then returns, it is treated as a new pointer and might be assigned a new identifier.

public : field unsigned int PointerIdpublic field uint PointerIdPublic Field PointerId// You can use this field in JavaScript.

PointerOptions PointerOptions PointerOptions PointerOptions

The various options, or modifiers, used to simulate pointer input through InjectedInputMouseInfo, InjectedInputPenInfo, and InjectedInputTouchInfo.

public : field InjectedInputPointerOptions PointerOptionspublic field InjectedInputPointerOptions PointerOptionsPublic Field PointerOptions// You can use this field in JavaScript.

TimeOffsetInMilliseconds TimeOffsetInMilliseconds TimeOffsetInMilliseconds TimeOffsetInMilliseconds

The baseline, or reference value, in milliseconds, for timed input events such as a double click/tap.

public : field unsigned int TimeOffsetInMillisecondspublic field uint TimeOffsetInMillisecondsPublic Field TimeOffsetInMilliseconds// You can use this field in JavaScript.