OSDN Git Service

Prepare environment for Earnie's tools.
[mingw/mingw-org-wsl.git] / w32api / include / gdiplus / gdiplusimagecodec.h
1 /*\r
2  * gdiplusimagecodec.h\r
3  *\r
4  * GDI+ image decoders and encoders\r
5  *\r
6  * This file is part of the w32api package.\r
7  *\r
8  * Contributors:\r
9  *   Created by Markus Koenig <markus@stber-koenig.de>\r
10  *\r
11  * THIS SOFTWARE IS NOT COPYRIGHTED\r
12  *\r
13  * This source code is offered for use in the public domain. You may\r
14  * use, modify or distribute it freely.\r
15  *\r
16  * This code is distributed in the hope that it will be useful but\r
17  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY\r
18  * DISCLAIMED. This includes but is not limited to warranties of\r
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r
20  *\r
21  */\r
22 \r
23 #ifndef __GDIPLUS_IMAGECODEC_H\r
24 #define __GDIPLUS_IMAGECODEC_H\r
25 #if __GNUC__ >=3\r
26 #pragma GCC system_header\r
27 #endif\r
28 \r
29 static __inline__ GpStatus GetImageDecoders(UINT numDecoders, UINT size,\r
30                 ImageCodecInfo *decoders)\r
31 {\r
32         #ifdef __cplusplus\r
33         return DllExports::GdipGetImageDecoders(numDecoders, size, decoders);\r
34         #else\r
35         return GdipGetImageDecoders(numDecoders, size, decoders);\r
36         #endif\r
37 }\r
38 \r
39 static __inline__ GpStatus GetImageDecodersSize(UINT *numDecoders, UINT *size)\r
40 {\r
41         #ifdef __cplusplus\r
42         return DllExports::GdipGetImageDecodersSize(numDecoders, size);\r
43         #else\r
44         return GdipGetImageDecodersSize(numDecoders, size);\r
45         #endif\r
46 }\r
47 \r
48 static __inline__ GpStatus GetImageEncoders(UINT numEncoders, UINT size,\r
49                 ImageCodecInfo *encoders)\r
50 {\r
51         #ifdef __cplusplus\r
52         return DllExports::GdipGetImageEncoders(numEncoders, size, encoders);\r
53         #else\r
54         return GdipGetImageEncoders(numEncoders, size, encoders);\r
55         #endif\r
56 }\r
57 \r
58 static __inline__ GpStatus GetImageEncodersSize(UINT *numEncoders, UINT *size)\r
59 {\r
60         #ifdef __cplusplus\r
61         return DllExports::GdipGetImageEncodersSize(numEncoders, size);\r
62         #else\r
63         return GdipGetImageEncodersSize(numEncoders, size);\r
64         #endif\r
65 }\r
66 \r
67 #endif /* __GDIPLUS_IMAGECODEC_H */\r