X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fdirectx%2Fdsound_new%2Fdirectsound.c;h=12b03cf024c771039b87a83586385fc39aaeb146;hp=c2e16879316069be614df49a63eda618a66da78b;hb=f2a66752bcd5942d9c778bdd829a389b99b38081;hpb=a63e388f530dd60d00a6e9f008c4460c628d5927 diff --git a/reactos/dll/directx/dsound_new/directsound.c b/reactos/dll/directx/dsound_new/directsound.c index c2e16879316..12b03cf024c 100644 --- a/reactos/dll/directx/dsound_new/directsound.c +++ b/reactos/dll/directx/dsound_new/directsound.c @@ -353,6 +353,14 @@ IDirectSound8_fnVerifyCertification( 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; }