Answered by:
Retrieve raw data from HID device

Question
-
Hi, i'm new to windows store app.
I was development a program in desktop which retrieve raw data (HID Report) from HID digitizer device.
However, i meet some problem to porting this program to store app.
After a survey, i know the store app is running inside a sandbox, that is, create and read handle may not work.
In Build 2011 HW-747T, it was talking about connect to specialized devices.
They mention the store app can use DeviceIOControl APIs to communicate with device.
But this needs to develop a special driver.
What i need just only read the HID report, no necessary for write.
So, may i know is there any method or API can make store app retrieve HID report from device?
(without make any changes of the current driver)
And what is the difference of using DeviceIOControl APIs and Windows store device app(WSDA) ?
Can a WSDA bundle a digitizer driver?
Thanks a million.
- Edited by Alvin Twitch Monday, February 18, 2013 12:44 PM
Monday, February 18, 2013 6:52 AM
Answers
-
Windows 8 requires a driver in order to get access to raw HID data. This sample illustrates how to do this: http://code.msdn.microsoft.com/windowshardware/HID-Client-Sample-2e2a6281
This posting is provided "AS IS" with no warranties, and confers no rights.
- Proposed as answer by Ashish Sahu - MSFT Wednesday, March 6, 2013 6:48 PM
- Marked as answer by Eric Hanson-MSFTModerator Thursday, March 14, 2013 8:36 AM
Wednesday, March 6, 2013 1:49 AM
All replies
-
Hi Alvin Twitch,
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.Min Zhu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Tuesday, February 19, 2013 6:34 AMModerator -
Hi Alvin,
WSDA cannot bundle a device driver.
However, there may something you can use here - http://msdn.microsoft.com/en-us/library/windows/hardware/gg487435.aspx
Ashish Sahu [MSFT]
- Proposed as answer by Ashish Sahu - MSFT Wednesday, March 6, 2013 6:49 PM
Thursday, February 21, 2013 9:49 PM -
Windows 8 requires a driver in order to get access to raw HID data. This sample illustrates how to do this: http://code.msdn.microsoft.com/windowshardware/HID-Client-Sample-2e2a6281
This posting is provided "AS IS" with no warranties, and confers no rights.
- Proposed as answer by Ashish Sahu - MSFT Wednesday, March 6, 2013 6:48 PM
- Marked as answer by Eric Hanson-MSFTModerator Thursday, March 14, 2013 8:36 AM
Wednesday, March 6, 2013 1:49 AM