Commit c2001c2b authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Add tests for IWICBitmap.

parent c5f2e662
...@@ -2,6 +2,7 @@ TESTDLL = windowscodecs.dll ...@@ -2,6 +2,7 @@ TESTDLL = windowscodecs.dll
IMPORTS = ole32 windowscodecs IMPORTS = ole32 windowscodecs
C_SRCS = \ C_SRCS = \
bitmap.c \
bmpformat.c \ bmpformat.c \
converter.c \ converter.c \
icoformat.c \ icoformat.c \
......
...@@ -81,6 +81,12 @@ typedef enum WICBitmapInterpolationMode { ...@@ -81,6 +81,12 @@ typedef enum WICBitmapInterpolationMode {
WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD WICBITMAPINTERPOLATIONMODE_FORCE_DWORD = CODEC_FORCE_DWORD
} WICBitmapInterpolationMode; } WICBitmapInterpolationMode;
typedef enum WICBitmapLockFlags {
WICBitmapLockRead = 0x00000001,
WICBitmapLockWrite = 0x00000002,
WICBITMAPLOCKFLAGS_FORCE_DWORD = CODEC_FORCE_DWORD
} WICBitmapLockFlags;
typedef enum WICBitmapPaletteType { typedef enum WICBitmapPaletteType {
WICBitmapPaletteTypeCustom = 0x00000000, WICBitmapPaletteTypeCustom = 0x00000000,
WICBitmapPaletteTypeMedianCut = 0x00000001, WICBitmapPaletteTypeMedianCut = 0x00000001,
...@@ -201,6 +207,7 @@ typedef UINT32 WICColor; ...@@ -201,6 +207,7 @@ typedef UINT32 WICColor;
cpp_quote("#define WINCODEC_ERR_WRONGSTATE 0x88982f04") cpp_quote("#define WINCODEC_ERR_WRONGSTATE 0x88982f04")
cpp_quote("#define WINCODEC_ERR_VALUEOUTOFRANGE 0x88982f05") cpp_quote("#define WINCODEC_ERR_VALUEOUTOFRANGE 0x88982f05")
cpp_quote("#define WINCODEC_ERR_NOTINITIALIZED 0x88982f0c") cpp_quote("#define WINCODEC_ERR_NOTINITIALIZED 0x88982f0c")
cpp_quote("#define WINCODEC_ERR_ALREADYLOCKED 0x88982f0d")
cpp_quote("#define WINCODEC_ERR_PROPERTYNOTFOUND 0x88982f40") cpp_quote("#define WINCODEC_ERR_PROPERTYNOTFOUND 0x88982f40")
cpp_quote("#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44") cpp_quote("#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44")
cpp_quote("#define WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45") cpp_quote("#define WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment