Skip to content

WinUsbPy shows "No Usb devices connected" even when there are devices connected. #3

@Arvindprksh

Description

@Arvindprksh

Hi,
I checked the code and the following line returned false and hence the "No Usb devices connected".

self.api.exec_function_setupapi(SetupDiGetDeviceInterfaceDetail, self.handle, byref(sp_device_interface_data), byref(sp_device_interface_detail_data), required_size, byref(required_size), byref(sp_device_info_data))

What could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions