source: Daodan/MinGW/include/gdiplus/gdiplusimagecodec.h@ 1165

Last change on this file since 1165 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

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