windowscodecs: Implement trivial methods for BMP decoder.
This commit is contained in:
parent
2824c4458b
commit
6f86ceef49
|
@ -101,8 +101,8 @@ static HRESULT WINAPI BmpDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
|
||||||
static HRESULT WINAPI BmpDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI BmpDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
|
||||||
GUID *pguidContainerFormat)
|
GUID *pguidContainerFormat)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p): stub\n", iface, pguidContainerFormat);
|
memcpy(pguidContainerFormat, &GUID_ContainerFormatBmp, sizeof(GUID));
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI BmpDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI BmpDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,
|
||||||
|
@ -150,8 +150,8 @@ static HRESULT WINAPI BmpDecoder_GetThumbnail(IWICBitmapDecoder *iface,
|
||||||
static HRESULT WINAPI BmpDecoder_GetFrameCount(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI BmpDecoder_GetFrameCount(IWICBitmapDecoder *iface,
|
||||||
UINT *pCount)
|
UINT *pCount)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p): stub\n", iface, pCount);
|
*pCount = 1;
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI BmpDecoder_GetFrame(IWICBitmapDecoder *iface,
|
static HRESULT WINAPI BmpDecoder_GetFrame(IWICBitmapDecoder *iface,
|
||||||
|
|
Loading…
Reference in New Issue