Menu
  • HOME
  • TAGS

WindowsDriver.common.targets error

visual-studio-2013,device-driver,wdk

What flavor of Visual Studio 2013 are you using (i.e., Professional, Premium or Ultimate)? Be aware that Professional does not support Device Driver Templates. Check this by clicking on File/New/Project. Then Templates/Visual C++. If "Windows Driver" does not show up then your flavor does not support device drivers. I would...

How to understand the internal working of NDIS Miniport driver

windows,driver,wdk,ndis

You can't debug on the same machine in which you are running the driver, you need to use remote machine, that could be a "Real" one or as done usually a VirtualMachine. Here how to setup a Windows Kernel Debugging environment with a Virtual Machine: https://msdn.microsoft.com/en-us/library/windows/hardware/ff538143%28v=vs.85%29.aspx...

Can I use the win32 Setup API to detect when USB devices have been plugged-in or unplugged?

windows,driver,wdk

For notifications that are commonly of interest (e.g. a new disk volume has been plugged-in) Windows automatically broadcasts the WM_DEVICECHANGE message to all top-level Windows. You do not need to register for it. For notifications that are not delivered automatically you can use RegisterDeviceNotification to request them....

Is PID = 0 a valid for usb device?

usb,driver,device,pid,wdk

Yes. As far as I know, there is nothing in the USB specification that prevents the product ID from being 0, so you should be fine. This listing of USB IDs contains several instances of USB devices with a product ID of 0. Keep in mind that your product still...