Author: janderwald Date: Tue Nov 3 20:20:59 2009 New Revision: 43936
URL: http://svn.reactos.org/svn/reactos?rev=43936&view=rev Log: - Fix one more dsound_winetest dsound8 failure - Register IDirectSound8, IDirectSoundCapture8 with COM
Modified: trunk/reactos/dll/directx/dsound_new/directsound.c trunk/reactos/dll/directx/dsound_new/dsound.c
Modified: trunk/reactos/dll/directx/dsound_new/directsound.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound_new/dire... ============================================================================== --- trunk/reactos/dll/directx/dsound_new/directsound.c [iso-8859-1] (original) +++ trunk/reactos/dll/directx/dsound_new/directsound.c [iso-8859-1] Tue Nov 3 20:20:59 2009 @@ -353,6 +353,14 @@ LPDIRECTSOUND8 iface, LPDWORD pdwCertified) { + LPCDirectSoundImpl This = (LPCDirectSoundImpl)CONTAINING_RECORD(iface, CDirectSoundImpl, lpVtbl); + + if (!This->bInitialized) + { + /* object not yet initialized */ + return DSERR_UNINITIALIZED; + } + UNIMPLEMENTED; return DS_CERTIFIED; }
Modified: trunk/reactos/dll/directx/dsound_new/dsound.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound_new/dsou... ============================================================================== --- trunk/reactos/dll/directx/dsound_new/dsound.c [iso-8859-1] (original) +++ trunk/reactos/dll/directx/dsound_new/dsound.c [iso-8859-1] Tue Nov 3 20:20:59 2009 @@ -23,7 +23,15 @@ NewDirectSoundCapture }, { + &CLSID_DirectSoundCapture8, + NewDirectSoundCapture + }, + { &CLSID_DirectSound, + NewDirectSound + }, + { + &CLSID_DirectSound8, NewDirectSound }, {