Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xray-bit opened this issue Jun 25, 2024 · 1 comment
Open

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

xray-bit opened this issue Jun 25, 2024 · 1 comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. OS-Windows
Milestone

Comments

@xray-bit
Copy link

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.

@gopherbot gopherbot added this to the Proposal milestone Jun 25, 2024
@ianlancetaylor
Copy link
Contributor

If these are simple Windows syscall calls, then this doesn't need to go through the proposal process.

@ianlancetaylor ianlancetaylor added OS-Windows NeedsFix The path to resolution is known, but the work has not been done. and removed Proposal labels Jun 25, 2024
@ianlancetaylor ianlancetaylor modified the milestones: Proposal, Unreleased Jun 25, 2024
@seankhliao seankhliao changed the title proposal: x/sys/windows: Add some missing SetupAPI functions x/sys/windows: add some missing SetupAPI functions Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. OS-Windows
Projects
None yet
Development

No branches or pull requests

3 participants