How do you program a virtual driver or virtual peripheral for Windows7
What do you do, to make the computer thinks that it actually have a physical device plugged in all on software?
5 replies to this topic
#1
Posted 09 September 2010 - 07:03 PM
|
|
|
#2
Posted 09 September 2010 - 07:14 PM
First learn how to write a Device Driver. You need to use the Windows DDK.
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.
#3
Posted 09 September 2010 - 07:17 PM
Ok, thats a relief, I already have the WDK, Do you know about a tutorial or expamples developing Virtual Devices?
#4
Posted 09 September 2010 - 07:44 PM
No, sorry. Never did anything like that. Hereis one book from Amazon, but I see it doesn't have very good review from two people who have read it. You might also way to read through some of these google links.
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.
#5
Posted 09 September 2010 - 11:32 PM
If I remember well, in previous versions of the Windows DDK, there were a sample driver with source code for a toaster (a virtual device). It is a full plug & play virtual driver, implementing its own bus driver and some other things. I supose that Windows 7 DDK also includes this example. I think it's a good place to start for virtual devices, but it's not trivial. There are a lot of low level concepts that you must understand or chances are that your drivers will crash Windows.
In previous versions of Windows it was possible to write non plug & play drivers. It was not recomended but allowed (I'm not sure if this is true for Windows 7). They are a lot more simple to implement, but lack many desirable functionalities. It's possible to create some virtual devices with this method, but I'm not so sure that you could create virtual disks or similiar this way.
In previous versions of Windows it was possible to write non plug & play drivers. It was not recomended but allowed (I'm not sure if this is true for Windows 7). They are a lot more simple to implement, but lack many desirable functionalities. It's possible to create some virtual devices with this method, but I'm not so sure that you could create virtual disks or similiar this way.
#6
Posted 10 September 2010 - 06:58 AM
Thankyou very much, I didn´t know about the toaster example, I made a search in google and found the link below, now I do have a place to start.
Here´s the link:
How to create a virtual device/hardware - Sysinternals Forums
Here´s the link:
How to create a virtual device/hardware - Sysinternals Forums
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









