Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IDirectSoundBuffer8::QueryInterface return value is E_NOINTERFACE

52 views
Skip to first unread message

E_NOINTERFACE@discussions.microsoft.com IDirectSoundBuffer8 E_NOINTERFACE

unread,
Aug 10, 2009, 10:33:01 AM8/10/09
to
HRESULT hr=mybuf->QueryInterface(IID_IDirectSoundBuffer8,(LPVOID*)&ds8buffer);
here hr=E_NOINTERFACE.But I use IID_IDirectSoundBuffer instead of
IID_IDirectSoundBuffer8,hr=S_OK.
I setup DXSDK_Mar09.exe.The help Introduction tell me I can use
IID_IDirectSoundBuffer8 in my proglam,in fact it not to be.Why?

Chris P.

unread,
Aug 11, 2009, 9:56:50 AM8/11/09
to

Are you doing this on a primary buffer or a secondary buffer?
IDirectSoundBuffer8 is not available on a primary buffer.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

cgq130

unread,
Aug 11, 2009, 10:13:02 AM8/11/09
to

"Chris P." wrote:

> Thank you! I'm done this on a primary buffer.Thank you for your help!

0 new messages