Skip to content

Why does the nuget package include two winmd versions? #4079

Answered by DarranRowe
tristanlabelle asked this question in Q&A
Discussion options

You must be logged in to vote

Currently, it is due to Microsoft.UI.Input.Interop.PenDeviceInterop.

I can't really comment on how they split the .winmd files. However, Microsoft.UI.winmd contains the definition for the PenDeviceInterop runtime class and the IPenDeviceInteropStatics interface that provides the static member function definitions for the runtime class. If you look at the PenDeviceInterop documentation, you will notice that this contains a single static member function named FromPointerPoint. This static member function returns an instance of Windows.Devices.Input.PenDevice. This is where the issue is. The documentation for PenDevice states that it is available starting with Windows 10 build 18362. If you …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tristanlabelle
Comment options

Answer selected by tristanlabelle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants