ole32: Re-structure OleCreate to match to order of calls that native does.
commitccb634fdee50936c35880a6cffd70e0bcd946b5a
authorRobert Shearman <rob@codeweavers.com>
Thu, 31 Aug 2006 16:14:38 +0000 (31 17:14 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 7 Sep 2006 09:42:22 +0000 (7 11:42 +0200)
treee038b0ad5834cab7c9ffac15cb81a41679842575
parentaaa26b2702759530768685f4176b9075c225f1e9
ole32: Re-structure OleCreate to match to order of calls that native does.

Get rid of hres1 since all failures are returned. Cleanup pUnk on
failure and make sure to return NULL in ppvObj.
dlls/ole32/ole2.c