Skip to content

Conversation

@xzn
Copy link

@xzn xzn commented Jan 6, 2026

Upstream wine bug: N/A. is_device_instance_linked in devinst.c is Valve's wine only it seems.

This pr does three changes:

  1. Fix uninitialize len before the first RegGetValueW call (which was RegQueryValueExW before the change).
  2. Set len correctly for RegGetValueW/RegQueryValueExW, both of which expect len to be size in bytes instead of count in chars (the case for RegEnumKeyExW).
  3. Check for refstrs and return true if any of them is linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant