gdiplus: Added partial implementation of GdipSaveImageToStream.
[wine] / include / gdiplusimaging.h
1 /*
2  * Copyright (C) 2007 Google (Evan Stade)
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 #ifndef _GDIPLUSIMAGING_H
20 #define _GDIPLUSIMAGING_H
21
22 #ifdef __cplusplus
23 class EncoderParameter
24 {
25 public:
26     GUID    Guid;
27     ULONG   NumberOfValues;
28     ULONG   Type;
29     VOID*   Value;
30 };
31
32 class EncoderParameters
33 {
34 public:
35     UINT Count;
36     EncoderParameter Parameter[1];
37 };
38 #else /* end of c++ typedefs */
39
40 typedef struct EncoderParameter
41 {
42     GUID Guid;
43     ULONG NumberOfValues;
44     ULONG Type;
45     VOID* Value;
46 } EncoderParameter;
47
48 typedef struct EncoderParameters
49 {
50     UINT Count;
51     EncoderParameter Parameter[1];
52 } EncoderParameters;
53
54 #endif /* end of c typedefs */
55
56 #endif /* _GDIPLUSIMAGING_H */