Windows 7 Device Stage Experience for Virtual Printers?
I am working on a virtual printer that converts various files to PDF format.
As you know Microsoft introduced Device Stage Experience in Windows 7, which is a nice way to customize the user's experience when interacting with your device. I have downloaded and installed their development kit,开发者_开发问答 only to quickly find out that everything relates to the hardware ID of your device.
Is there any way to create a Device Stage Experience for a virtual device (like our virtual printer, which has a null hardware id)?
Thanks.
Take a look at the Windows Device Experience development pack. as far as I know you can create a Device Stage for any device. The fact it is virtual is known only to you as the dev of the driver. Windows does not treat them differently.
There's also a good overview on how to do it here.
WinPcap can give you some hint, you can get the source here.
It creates a virtual ethernet adapter to catch the inbound / outbound packets. You can pick the logic from it.
The only way to do this would be to have your virtual device have a non-null hardware ID. Which would doubtless create other issues - you'd need an increased level of hardware faking, no doubt.
Martyn
精彩评论