Check the return value of IDirectSoundImpl_Create() to detect errors.
commit14266328398b6114ac995a127e7ce389d2f17875
authorFrancois Gouget <fgouget@codeweavers.com>
Mon, 2 Aug 2004 18:27:16 +0000 (2 18:27 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Aug 2004 18:27:16 +0000 (2 18:27 +0000)
treeb3e3a13d59ddefed98495e6d48633bd377a4fdc9
parent0bbe91213d9f0e192c15b683aa0580f51852d217
Check the return value of IDirectSoundImpl_Create() to detect errors.
Always set *ppDS to NULL in case of error.
dlls/dsound/dsound.c