// create bind context if ( Win32.CreateBindCtx( 0, out bindCtx ) == 0 ) { // convert moniker`s string to a moniker if ( Win32.MkParseDisplayName( bindCtx, filterMoniker, ref n, out moniker ) == 0 ) { // get device base filter Guid filterId = typeof( IBaseFilter ).GUID; moniker.BindToObject(null, null, ref filterId, out filterObject); Marshal.ReleaseComObject( moniker ); } Marshal.ReleaseComObject( bindCtx ); } What I have tried: Tried but unable to find reason where it is getting failed
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)