Module: wine Branch: master Commit: 7053e0f641bd992d03219e54f7f5b2803d8b391c URL: https://gitlab.winehq.org/wine/wine/-/commit/7053e0f641bd992d03219e54f7f5b28...
Author: Alex Henrie alexhenrie24@gmail.com Date: Sun Jun 23 21:48:45 2024 -0600
ntdll: Don't special-case default values in RtlQueryRegistryValues.
Additional tests reveal that RTL_QUERY_REGISTRY_DIRECT does work with non-string default values, it just requires a pointer to the value and it doesn't infer the size automatically. That means that the same code can be used to handle both default and non-default values.
---
dlls/ntdll/reg.c | 102 ++++++++++++++++++++++++------------------------- dlls/ntdll/tests/reg.c | 89 ++++++++++++++++++++++++++++++++---------- 2 files changed, 118 insertions(+), 73 deletions(-)