-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 2015-02-17 um 13:43 schrieb Alexandre Julliard:
I'm not sure that's a good idea either. It forces you to use
generic error messages that are usually not very informative. It's
better to do things in a way that allows printing more detailed
errors in cases that are found to be confusing to users.
Fwiw, native mostly just writes "SYNTAX ERROR", just
internationalized, so you can't really check it in a script. There are
some rare exceptions. The only one I remember is if you pass a
negative number as REG_DWORD data.
My consideration was that reg.exe would duplicate some of the
underlying function's logic and reg.exe would have to handle Reg*
return values anyway.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJU42tQAAoJEN0/YqbEcdMwf1sP+wSqeajJ2czBhksAz14s5A53
6QE1KgDf42sf/X63Z3/wSVcd4WqnNFHPo6d59jgxWYa9uugcrIo2f+8U75zrgsMR
vHhpstaedxcln9zCar7fnhO98WbQypb+Onc/23gq7VdQn2vKwXuDoODAZa2zevoz
rxyVNFLDKbTQnnCH0QhuvybtZ218c/Ad4HG0HxLqaWSy9bfTCUwb84dFkcR7JVDE
R5OmDuXOMV7xL4VSrITh/ILR8P37uLqgqccYyw9uzYDUhEVaegrzuLqmQT9jSpOm
R0FWp06lKVR2fDqYgiCiALhlPy2OD6Wh/B6i4rVMCOfVc+ONMfm6DsIqMBhMz2Yc
5sZkR27fKIKmT7H/J4sr2pMHsw0UJUb/8ZWwWCHxotmcMnsFOSeWNv0TC+ep2s+f
iyeJCQz9f4YRWtqU4XDe10QVaEIDBIgC3BdTt11nReAO24HovLOL8hh5/gqrfgzq
0JwqS30X0xKe127DxrmpiNXRnFG0lSoWK4+GPqJ8jGpIAZaK55bw59BNDWx2pb0/
M1Si0OG3FajlQ/KcYUFVRnbvkcTCRasUw3j5P5hAzxx2/pT8uhD187tRyIYbzM9S
IT6QgIzjYJDugJt/n02a9mfPQFzPJJjv2Q9gsIKn7DQK53kJL4oGT9Y2mclOcPt+
QaT4vnZ2rJWw11Q4SmI6
=OXFO
-----END PGP SIGNATURE-----