Author Topic: How to detect the Device Interface Class?  (Read 1602 times)

moelski

  • Full Member
  • ***
  • Posts: 122
    • View Profile
How to detect the Device Interface Class?
« on: July 08, 2009, 12:14:20 pm »
Hi !

Is it possible to detect the device Interface Class?

It is stored in the bInterfaceClass field from USB_INTERFACE_DESCRIPTOR
-> http://msdn.microsoft.com/en-us/library/ms793342.aspx

Greetz Dominik

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: How to detect the Device Interface Class?
« Reply #1 on: July 09, 2009, 04:36:02 am »
Hello

Unfortunately, the current version of library has no such property.
It seems like you can call the GetDescriptor() function from module nrusbw32 and get needed descriptor.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.