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 --- dlls/windowscodecs/ddsformat.c | 40 +++++++++++++++++++++++++--- dlls/windowscodecs/tests/ddsformat.c | 11 +++++--- 2 files changed, 44 insertions(+), 7 deletions(-)