I want to implement a DMO Wrapper Filter to my DirectShow Filtergraph.

The problem: while compiling with VS 2005, the compiler is not able to find GUID "CLSID_DMOWrapperFilter". The Code Snipet:

Code Block


IBaseFilter *pDMOWrapper;
hr = CoCreateInstance(CLSID_DMOWrapperFilter, NULL, CLSCTX_INPROC_SERVER,
IID_IBaseFilter, (void**)&pDMOWrapper);

// some DMO inits should follow here


Should I include some header files here to solve the issue
Where is CLSID_DMOWrapperFilter declared in

Note: I am Using Win XP Pro, installed SDKs are:
* DirectX SDK (Aug 2007)
* MS Platform SDK ( Win Server 2003 SP 1)
* Windows Media Encoder 9 SDK
* Windows Media Format 9.5 SDK

Any suggestions
Thanks in advance,

Re: DirectShow Development DMO + DirectShow: CLSID_DMOWrapperFilter not found

Ralf G

It's declared in a file called dmodshow.h in your Windows SDK include directory Wink