InjectedInputPoint InjectedInputPoint InjectedInputPoint InjectedInputPoint Struct

Definition

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

Note

The APIs in this namespace require the inputInjectionBrokered restricted capability.

public : struct InjectedInputPointpublic struct InjectedInputPointPublic Structure InjectedInputPoint// 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

PositionX PositionX PositionX PositionX

The x-coordinate of the pointer in device-independent pixel (DIP).

public : field int PositionXpublic field int PositionXPublic Field PositionX// You can use this field in JavaScript.

PositionY PositionY PositionY PositionY

The y-coordinate of the pointer in device-independent pixel (DIP).

public : field int PositionYpublic field int PositionYPublic Field PositionY// You can use this field in JavaScript.