none
USB Control Transfer RRS feed

  • Question

  • HidD_GetHidGuid(HidGuid)
    SetupDiGetClassDevs
    SetupDiEnumDeviceInterfaces
    SetupDiGetDeviceInterfaceDetail
    CreateFile
    HidD_GetAttributes
    HidD_GetPreparsedData
    HidP_GetCaps

    Everything got read by above APIs.
    In USB control transfer, if not using WinUSB, what should we do to write commands to the device.
    SetupPacket needs 8 bytes to complete. The ByteLength of HidD_setOutputReport and WriteFile seemed not to be the way to send commands. (VB.net)

    • Moved by Paul Zhou Friday, February 10, 2012 4:21 AM move for better support (From:.NET Base Class Library)
    Friday, February 10, 2012 12:47 AM

Answers

All replies