windowscodecs: Implement IWICBitmapDecoderInfo::CreateInstance.
This commit is contained in:
parent
6c5d1b2f63
commit
4e5ee3699f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue