🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #289

Re: custom writer sink problem

#289
From: Remy Lebeau (TeamB)
Date: Mon, 03 Jan 2005 18:45
21 lines
1875 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:41d98468@newsgroups.borland.com...

> I found out that the QueryInterface is requesting
> IID_IWMWriterFileSink3. So I just return E_NOINTERFACE.

That makes sense.  According to the documentation, the Media SDK only
supports File, Network, and Push sinks.  Even for a custom sink, it would
appear that you need to implement one of those three types.  Which means
implementing either IWMWriterFileSink/2/3, IWMWriterNetworkSink, or
IWMWriterPushSink in addition to the base IWMWriterSink interface.

Is IID_IWMWriterFileSink3 being requested both times QueryInterface() is
called?

What exactly do you need your custom sink to do in the first place?  You
never did explain that part yet.


Gambit
Technical Details
Message-ID: <41d99265$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41d5ae65$1@newsgroups.borland.com> <41d70359$1@newsgroups.borland.com> <41d98468@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e2e3d27f003f4ca5
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.multimedia
References: <41d5ae65$1@newsgroups.borland.com> <41d70359$1@newsgroups.borland.com> <41d98468@newsgroups.borland.com>
Subject: Re: custom writer sink problem
Date: Mon, 3 Jan 2005 10:45:19 -0800
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41d99265$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104777829 68.69.17.41 (3 Jan 2005 10:43:49 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail