I think you do not fully understand WinUSB and you would need to read the linked documents that describe WinUSB. CDC and HID are device classes that already have drivers in Windows. If you create USB descriptors following the HID or CDC classification, then Windows will load those drivers when your device connects. If your device could not use CDC or HID (or you don't want to use those classes) then you used to have to write your own kernel mode driver. With WinUSB this is not necessary anymore. WinUSB simplifies access to your device by using a standard kernel mode driver with which you can communicate from user mode. If you want to use WinUSB then implement the descriptors as described in the blog post and use the INF above as base for creating your own "driver".
RE: Thanks for your reply. I
I think you do not fully understand WinUSB and you would need to read the linked documents that describe WinUSB. CDC and HID are device classes that already have drivers in Windows. If you create USB descriptors following the HID or CDC classification, then Windows will load those drivers when your device connects. If your device could not use CDC or HID (or you don't want to use those classes) then you used to have to write your own kernel mode driver. With WinUSB this is not necessary anymore. WinUSB simplifies access to your device by using a standard kernel mode driver with which you can communicate from user mode. If you want to use WinUSB then implement the descriptors as described in the blog post and use the INF above as base for creating your own "driver".