Hi,

These two patches correspond to the 1/4 commit by jnvsor in a preliminary work to add reg query functionality:
https://github.com/jnvsor/wine/commits/reg.exe
I split this commit in two after the review from Stefan Dösinger.
I did not want to submit all at once because it seems pretty hard to get patches accepted.

M.


> Subject: Re: [PATCH 1/2] reg: simplify root key search
> To: wine-patches@winehq.org
> From: stefandoesinger@gmail.com
> Date: Mon, 5 Oct 2015 11:42:15 +0200
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 2015-10-04 um 21:14 schrieb Michel Zou:
> > From: Jonathan Vollebregt <jnvsor@gmail.com>
> >
> > Signed-off-by: Michel Zou <xantares09@hotmail.com>
> Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJWEkX3AAoJEN0/YqbEcdMwOx8P/RgHK3cBvTiTegMwxWil8zin
> BkTP/Lq7hQjXBP5fOKhpysT6KgtXCqvif9h9gEIJkePszPQurcQrAR6DDwzS+dqT
> pHWqwIBwktePQP3bo7Xb0zwWRAePe/KAf80EUF4Vj1sFmQpOExS2SzCPbLylSyle
> UlIZfV4LzOMf2rqn70h0p7i+eFymUcRs8Ocejwf6llM9B/M6ETT3+PJ600rOcpYJ
> a+/+oJasmBQZTyhOr2xtJe9ZctmmldCIufjH9OYpkkTiSf+fNekbBh6T7Sd1VM0q
> 7KxuanloX1RJ33IZUbnaeMi4XPjYGkXwN07Y0Qoz/KbIAqsLqjs6ZX4a7zRttH/R
> TiBvk8G5KgOLSA3CGk764krIAT4BhLae1sIV2BdjGnz8LXarRLY442+srLPOW5ko
> F5y34SGaSjV90+K27yiAfg/HLMYa6DvT+dqU7K/+jokkir3hl87Hz2mRpWRA2Gge
> 5oH4UHnrOXqOzxnmZMvhmMtteEZ7XyCtF97r+Hv1l9XDFY4eVKQMEZN0pMDIwvSx
> lIvKRmQyce9RV4XAo1zsYwUFmWBjbiEDouhylgjYMp1yean7+wP6pZDxnmJ6SIxF
> w6WXd2+V16rts61joPqXoXndpmPXH1SJINu69v+3YKaTFCeQF1gbGlpf/G9nM85P
> 3JmJVKAKRId0MJAKIJZq
> =Lqx3
> -----END PGP SIGNATURE-----
>
>