Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP compatibility #15

Closed
rushfrisby opened this issue Jun 1, 2016 · 3 comments
Closed

UWP compatibility #15

rushfrisby opened this issue Jun 1, 2016 · 3 comments

Comments

@rushfrisby
Copy link

Is there any way to convert the API so that it can be used with UWP apps? I would like to use this on Windows 10 IoT Core with a UWP app and it looks like most of it can be used, but there are references to the Unwrapped and ThreadPool that aren't available. I'm not sure what the UWP equivalent of Unwrapped would be.

@madwizard-thomas
Copy link
Owner

Sorry, I have no experience with UWP apps and am not sure of the requirements. The ThreadPool class is only used for asynchronous calls so you could remove those methods if you don't mind using a customized version. I'm not sure what you mean by Unwrapped.

@rushfrisby
Copy link
Author

Sorry the type I meant to type is called Overlapped. It is used in the WinUSBDevice class a bunch of times. The ThreadPool stuff I think would be easy enough to convert but I have no experience with using Overlapped. It looks like it does some memory mapping? I can't even find much documentation on it.

@madwizard-thomas
Copy link
Owner

I don't know if WinUSB is available at all in UWP apps, I think you are supposed to use the classes in the Windows.Devices.Usb namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants