From 542142a025f92fd020abf6b72045960f250a4a26 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 31 Jul 2011 19:40:09 -0700 Subject: [PATCH] Use the correct iface call --- dsound8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsound8.c b/dsound8.c index f816f26..177ed7f 100644 --- a/dsound8.c +++ b/dsound8.c @@ -125,7 +125,7 @@ HRESULT DSOUND_Create8(REFIID riid, LPVOID *ds) } /*RegGetValueW(HKEY_LOCAL_MACHINE, speakerconfigkey, speakerconfig, RRF_RT_REG_DWORD, NULL, &This->speaker_config, NULL);*/ - hr = IUnknown_QueryInterface(&This->IDirectSound8_iface, riid, ds); + hr = IDirectSound8_QueryInterface(&This->IDirectSound8_iface, riid, ds); if(FAILED(hr)) DS8Impl_Destroy(This); else -- 2.11.4.GIT