amstream: IMediaStream::GetMultiMediaStream
Robert Shearman
rob at codeweavers.com
Fri Mar 28 12:02:05 CDT 2008
Nikolay Sivov wrote:
> @@ -109,9 +109,14 @@
> {
> IMediaStreamImpl *This = (IMediaStreamImpl *)iface;
>
> - FIXME("(%p/%p)->(%p) stub!\n", This, iface, ppMultiMediaStream);
> + TRACE("(%p/%p)->(%p)\n", This, iface, ppMultiMediaStream);
>
> - return S_FALSE;
> + if(!(*ppMultiMediaStream))
> + return E_POINTER;
> +
> + *ppMultiMediaStream = This->Parent;
> +
> + return S_OK;
> }
>
Although I haven't looked at the context, you also likely need to add a
reference to the returned COM object here.
--
Rob Shearman
More information about the wine-devel
mailing list