On Mon, 21 Sep 2026 13:06:25 GMT, Matthias Baesken <[email protected]> wrote:

> There are some RegQueryValueEx* calls in e.g. net and nio, those can 
> potentially be simplified by using RegGetValue*.
> Benefit is that some null termination of string results might be not needed 
> any more, that is missing now.
> 
> See 
> https://learn.microsoft.com/de-de/windows/win32/api/winreg/nf-winreg-reggetvaluea
>  .
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Btw any opinions on adding  RRF_NOEXPAND or not? I added it to RRF_RT_REG_SZ 
because afaik this is close to RegQueryValueExA but maybe there are other 
opinions ?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32987#issuecomment-5773870658

Reply via email to