include: Add enums and GUID required for GdipSaveAdd().

Signed-off-by: Florian Will <florian.will@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Florian Will 2020-02-19 08:47:04 +01:00 committed by Alexandre Julliard
parent b31fc78812
commit cc0d5c4fc9
2 changed files with 43 additions and 0 deletions

View File

@ -336,6 +336,45 @@ enum ImageFlags
ImageFlagsCaching = 0x00020000 ImageFlagsCaching = 0x00020000
}; };
enum EncoderParameterValueType {
EncoderParameterValueTypeByte = 1,
EncoderParameterValueTypeASCII = 2,
EncoderParameterValueTypeShort = 3,
EncoderParameterValueTypeLong = 4,
EncoderParameterValueTypeRational = 5,
EncoderParameterValueTypeLongRange = 6,
EncoderParameterValueTypeUndefined = 7,
EncoderParameterValueTypeRationalRange = 8,
EncoderParameterValueTypePointer = 9
};
enum EncoderValue {
EncoderValueColorTypeCMYK = 0,
EncoderValueColorTypeYCCK = 1,
EncoderValueCompressionLZW = 2,
EncoderValueCompressionCCITT3 = 3,
EncoderValueCompressionCCITT4 = 4,
EncoderValueCompressionRle = 5,
EncoderValueCompressionNone = 6,
EncoderValueScanMethodInterlaced = 7,
EncoderValueScanMethodNonInterlaced = 8,
EncoderValueVersionGif87 = 9,
EncoderValueVersionGif89 = 10,
EncoderValueRenderProgressive = 11,
EncoderValueRenderNonProgressive = 12,
EncoderValueTransformRotate90 = 13,
EncoderValueTransformRotate180 = 14,
EncoderValueTransformRotate270 = 15,
EncoderValueTransformFlipHorizontal = 16,
EncoderValueTransformFlipVertical = 17,
EncoderValueMultiFrame = 18,
EncoderValueLastFrame = 19,
EncoderValueFlush = 20,
EncoderValueFrameDimensionTime = 21,
EncoderValueFrameDimensionResolution = 22,
EncoderValueFrameDimensionPage = 23
};
enum CombineMode enum CombineMode
{ {
CombineModeReplace, CombineModeReplace,
@ -747,6 +786,8 @@ typedef enum HotkeyPrefix HotkeyPrefix;
typedef enum PenAlignment PenAlignment; typedef enum PenAlignment PenAlignment;
typedef enum PaletteFlags PaletteFlags; typedef enum PaletteFlags PaletteFlags;
typedef enum ImageCodecFlags ImageCodecFlags; typedef enum ImageCodecFlags ImageCodecFlags;
typedef enum EncoderParameterValueType EncoderParameterValueType;
typedef enum EncoderValue EncoderValue;
typedef enum CombineMode CombineMode; typedef enum CombineMode CombineMode;
typedef enum FlushIntention FlushIntention; typedef enum FlushIntention FlushIntention;
typedef enum CoordinateSpace CoordinateSpace; typedef enum CoordinateSpace CoordinateSpace;

View File

@ -35,6 +35,8 @@ DEFINE_GUID(FrameDimensionTime, 0x6aedbd6d, 0x3fb5, 0x418a, 0x83, 0xa6, 0x
DEFINE_GUID(FrameDimensionPage, 0x7462dc86, 0x6180, 0x4c7e, 0x8e, 0x3f, 0xee, 0x73, 0x33, 0xa7, 0xa4, 0x83); DEFINE_GUID(FrameDimensionPage, 0x7462dc86, 0x6180, 0x4c7e, 0x8e, 0x3f, 0xee, 0x73, 0x33, 0xa7, 0xa4, 0x83);
DEFINE_GUID(FrameDimensionResolution, 0x84236f7b, 0x3bd3, 0x428f, 0x8d, 0xab, 0x4e, 0xa1, 0x43, 0x9c, 0xa3, 0x15); DEFINE_GUID(FrameDimensionResolution, 0x84236f7b, 0x3bd3, 0x428f, 0x8d, 0xab, 0x4e, 0xa1, 0x43, 0x9c, 0xa3, 0x15);
DEFINE_GUID(EncoderSaveFlag, 0x292266fc, 0xac40, 0x47bf, 0x8c, 0xfc, 0xa8, 0x5b, 0x89, 0xa6, 0x55, 0xde);
enum ImageLockMode enum ImageLockMode
{ {
ImageLockModeRead = 1, ImageLockModeRead = 1,