ole32: Move the logic in StgCreateDocfile for "if no share mode given then DENY_NONE...
authorRob Shearman <rob@codeweavers.com>
Wed, 9 May 2007 22:31:08 +0000 (23:31 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 10 May 2007 10:15:11 +0000 (12:15 +0200)
commitb005e9ed0dfe9c4398c8ea609bc7083768bd0d45
treee91019e5fa46ac28bf1e267455cc0729f2da6173
parent12aa9e33c532a77bedfc5ad570cef5e56110e56b
ole32: Move the logic in StgCreateDocfile for "if no share mode given then DENY_NONE is the default" to before the validateSTGM check.

Add a test that shows this behaviour is correct.

Remove a test on the access mode that is redundant because it is already
done in validateSTGM.
dlls/ole32/storage32.c
dlls/ole32/tests/storage32.c