Access to user mode drivers from metro style apps
-
14 Maret 2012 17:52Since access to Win32 based services is no longer available from a metro style app, we are planning to port that functionality to an user mode driver which would be stacked on top of the device driver for an internal device (Intel's ME). This user mode driver will have its own class ID and will add a device interface.
Will the access model for such drivers be the same as that for any other internal device?
Semua Balasan
-
15 Maret 2012 2:19Moderator
-
15 Maret 2012 18:50
I have multiple apps accessing my special device (Intel's ME). Currently on Win7 all the apps talk to a service which talk to the driver. So the service would manage the state and data for the device and make sure that all the apps play nicely with the HW. Since the Metro model is that there is no service and I have to package all my components include User mode driver with my app. How do you think I can accomplish the same functionality in Metro?
Thanks
-
20 Maret 2012 17:58ModeratorIs this related to Intel AMT?
-
31 Maret 2012 16:53
Yes, similar.
Thank you
-
03 April 2012 18:15Moderator
-
18 April 2012 23:08
Any updates on this documentation?
Thanks
-
20 April 2012 23:31ModeratorNot yet...
-
03 Mei 2012 4:39I heard there is a whitepaper that was published. Can I get a link?
-
04 Mei 2012 17:56I dont think you need to include the UMD within the package. I am doing something similar right now and you can install the UMD using the devcon utility. Once you do that you can open a handle to it from the Metro App and use DeviceIoControlSync to send IOCTL's to the UM driver.
-
07 Mei 2012 23:04
I too am very curious about this whitepaper. My specific scenario is that I work for a client who has an existing application that communicates with a device over a virtual COM port (created over USB). The application is written in C# and uses the System.IO.Ports.SerialPort class. Now with Metro, I can't use that communication mechanism and am limited to a desktop application. I don't have the luxury of creating a sensor driver, since it doesn't fit in any of the predefined categories.
It would be great if we could see that Whitepaper discussed above. Will this even be possible in Win8?
I can think of ways to fake the serial port access... Communicate with some other proxy process that does have privileges to access the serial port. This communication can be a simple network I/O. HOwever, this seems unnecessarily complex...
-
09 Mei 2012 20:12Moderator
Laduran,
I am working on your request and will post under the new question you have opened.
Best Wishes - Eric
- Ditandai sebagai Jawaban oleh Eric Hanson-MSFTMicrosoft Employee, Moderator 11 Juni 2012 23:50
-
30 Agustus 2012 15:20
Eric,
Any updates on this ? Since we have RTM versions, i assume there is some documentation or at least a solid answer to this question.
I am still interested in accessing a software only user mode driver that is NOT associated with any device from a metro/Win8 app.
Any info appreciated.
THanks
-
07 September 2012 18:06Moderator
R_K,
You will need a device to access a driver from a Windows Store app.
Best Wishes - Eric
- Ditandai sebagai Jawaban oleh Eric Hanson-MSFTMicrosoft Employee, Moderator 07 September 2012 18:06
-
14 September 2012 21:09THanks Eric.
-
14 September 2012 21:31Moderator
You are very welcome R_K.
Best Wishes - Eric
-
20 September 2012 20:24
Since the UMD cannot be software and has to be attached to a device, could it work if the device is WiFi/Bluetooth?
Thanks.
-
25 September 2012 0:47Moderator
Does the hardware device belong to you?
-
25 September 2012 2:56Yes, the card belongs to us.
-
25 September 2012 18:24Moderator
Would the purpose of the driver be to communicate with the device or to allow communication between apps or both? Communication between apps is not allowed.
Windows Store apps can talk to your own device through a driver as long as the device, driver, app and metadata meet all of the requirements.
Windows Store apps can not talk to Desktop apps in anyway.
Windows Store apps can not talk to Desktop apps through a driver.
Best Wishes - Eric
- Ditandai sebagai Jawaban oleh Eric Hanson-MSFTMicrosoft Employee, Moderator 25 September 2012 18:25