windowscodecs: Implement IWICBitmapDecoderInfo::CreateInstance.

This commit is contained in:
Vincent Povirk 2009-07-28 16:28:53 -05:00 committed by Alexandre Julliard
parent 6c5d1b2f63
commit 4e5ee3699f
1 changed files with 6 additions and 2 deletions

View File

@ -337,8 +337,12 @@ static HRESULT WINAPI BitmapDecoderInfo_MatchesPattern(IWICBitmapDecoderInfo *if
static HRESULT WINAPI BitmapDecoderInfo_CreateInstance(IWICBitmapDecoderInfo *iface,
IWICBitmapDecoder **ppIBitmapDecoder)
{
FIXME("(%p,%p): stub\n", iface, ppIBitmapDecoder);
return E_NOTIMPL;
BitmapDecoderInfo *This = (BitmapDecoderInfo*)iface;
TRACE("(%p,%p)\n", iface, ppIBitmapDecoder);
return CoCreateInstance(&This->clsid, NULL, CLSCTX_INPROC_SERVER,
&IID_IWICBitmapDecoder, (void**)ppIBitmapDecoder);
}
static const IWICBitmapDecoderInfoVtbl BitmapDecoderInfo_Vtbl = {