shlwapi: Allow SHOpenRegStream2 A/W to work with not existing values.
authorPeter Oberndorfer <kumbayo84@arcor.de>
Mon, 28 Sep 2009 20:24:12 +0000 (22:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Sep 2009 10:31:50 +0000 (12:31 +0200)
commit90e800cf9b3c60b41f38ee85b30570cff9e8631e
tree5e5e9726397cdff38a40de94f0ea2898669cfe7d
parenta35fd4f496fcd2898b15051fa2b96598c5581cfb
shlwapi: Allow SHOpenRegStream2 A/W to work with not existing values.

When mode is STGM_WRITE or STGM_READWRITE make sure key key exists.
Only read data in STGM_READ or STGM_READWRITE mode.
Do not depend on value type being REG_BINARY.
Succeed when reading not existing values.
dlls/shlwapi/regstream.c