Skip to content

x/sys/windows: add some missing SetupAPI functions #68168

@cyberxnomad

Description

@cyberxnomad

Proposal Details

At least the following functions are missing from the x/sys/windows package:

  • SetupDiEnumDeviceInterfaces
  • SetupDiGetDeviceInterfaceDetail
  • SetupDiGetDeviceInterfacePropertyKeys
  • SetupDiGetDeviceInterfaceProperty

I originally wanted to implement these functions myself. Before calling the SetupDiGetDeviceInterfaceDetail function, it is necessary to set the size for the size member of the windows. DevInfoData structure. However, the size member of the windows. DevInfoData structure was not exported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.OS-Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions