windowscodecs: Implement DdsDecoder_GetFrameCount().
commit79664eb1cf37d1e9b888941ea4f90dd220882a28
authorZiqing Hui <zhui@codeweavers.com>
Thu, 23 Apr 2020 09:29:49 +0000 (23 17:29 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 23 Apr 2020 18:20:15 +0000 (23 20:20 +0200)
tree10c1c1fa4f8ccf192fe92bc0ea59b31b4f123072
parent3b6699822ada81998610fbd9ccd6af98561c0356
windowscodecs: Implement DdsDecoder_GetFrameCount().

The added tests code is to test the return value of
DdsDecoder_GetFrameCount() when decoder is not initialized or
parameter is NULL.

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/windowscodecs/ddsformat.c
dlls/windowscodecs/tests/ddsformat.c