OSDN Git Service

xpiLibraryを追加。
[tpi/lychee.git] / src / plugin / xpiLibrary / xpiLibrary.h
1 /*******************************************************************************
2   TPI - flexible but useless plug-in framework.
3   Copyright (C) 2002-2009 Silky
4
5   This library is free software; you can redistribute it and/or modify it under
6   the terms of the GNU Lesser General Public License as published by the Free
7   Software Foundation; either version 2.1 of the License, or (at your option)
8   any later version.
9
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
12   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
13   for more details.
14
15   You should have received a copy of the GNU Lesser General Public License along
16   with this library; if not, write to the Free Software Foundation, Inc.,
17   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18
19   $Id$
20 *******************************************************************************/
21
22 //******************************************************************************
23 //    Defines
24 //******************************************************************************
25
26 #define XPI_NO_FUNCTION                 -101
27 #define XPI_ALL_RIGHT                   0
28 #define XPI_ABORT                               101
29 #define XPI_NOT_SUPPRORT                102
30 #define XPI_OUT_OF_ORDER                103
31 #define XPI_NO_MEMORY                   104
32 #define XPI_MEMORY_ERROR                105
33 #define XPI_FILE_READ_ERROR             106
34 #define XPI_WINDOW_ERROR                107
35 #define XPI_OTHER_ERROR                 108
36 #define XPI_FILE_WRITE_ERROR    109
37 #define XPI_END_OF_FILE                 110
38
39 #pragma pack(1)
40
41 typedef struct PictureInfo
42 {
43         long left, top;
44         long width;
45         long height;
46         WORD x_density;
47         WORD y_density;
48         short colorDepth;
49         HLOCAL hInfo;
50 } PictureInfo;
51
52