kernel32: Update Italian translation.
[wine/testsucceed.git] / dlls / olecli32 / olecli.h
blob8430a7cc090fa3285898b0db843b9ab00b70dbdf
1 /*
2 * OLECLI library
4 * Copyright 1995 Martin von Loewis
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 typedef enum
23 OLE_OK,
24 OLE_WAIT_FOR_RELEASE,
25 OLE_BUSY,
26 OLE_ERROR_PROTECT_ONLY,
27 OLE_ERROR_MEMORY,
28 OLE_ERROR_STREAM,
29 OLE_ERROR_STATIC,
30 OLE_ERROR_BLANK,
31 OLE_ERROR_DRAW,
32 OLE_ERROR_METAFILE,
33 OLE_ERROR_ABORT,
34 OLE_ERROR_CLIPBOARD,
35 OLE_ERROR_FORMAT,
36 OLE_ERROR_OBJECT,
37 OLE_ERROR_OPTION,
38 OLE_ERROR_PROTOCOL,
39 OLE_ERROR_ADDRESS,
40 OLE_ERROR_NOT_EQUAL,
41 OLE_ERROR_HANDLE,
42 OLE_ERROR_GENERIC,
43 OLE_ERROR_CLASS,
44 OLE_ERROR_SYNTAX,
45 OLE_ERROR_DATATYPE,
46 OLE_ERROR_PALETTE,
47 OLE_ERROR_NOT_LINK,
48 OLE_ERROR_NOT_EMPTY,
49 OLE_ERROR_SIZE,
50 OLE_ERROR_DRIVE,
51 OLE_ERROR_NETWORK,
52 OLE_ERROR_NAME,
53 OLE_ERROR_TEMPLATE,
54 OLE_ERROR_NEW,
55 OLE_ERROR_EDIT,
56 OLE_ERROR_OPEN,
57 OLE_ERROR_NOT_OPEN,
58 OLE_ERROR_LAUNCH,
59 OLE_ERROR_COMM,
60 OLE_ERROR_TERMINATE,
61 OLE_ERROR_COMMAND,
62 OLE_ERROR_SHOW,
63 OLE_ERROR_DOVERB,
64 OLE_ERROR_ADVISE_NATIVE,
65 OLE_ERROR_ADVISE_PICT,
66 OLE_ERROR_ADVISE_RENAME,
67 OLE_ERROR_POKE_NATIVE,
68 OLE_ERROR_REQUEST_NATIVE,
69 OLE_ERROR_REQUEST_PICT,
70 OLE_ERROR_SERVER_BLOCKED,
71 OLE_ERROR_REGISTRATION,
72 OLE_ERROR_ALREADY_REGISTERED,
73 OLE_ERROR_TASK,
74 OLE_ERROR_OUTOFDATE,
75 OLE_ERROR_CANT_UPDATE_CLIENT,
76 OLE_ERROR_UPDATE,
77 OLE_ERROR_SETDATA_FORMAT,
78 OLE_ERROR_STATIC_FROM_OTHER_OS,
79 OLE_WARN_DELETE_DATA = 1000
80 } OLESTATUS;
82 typedef enum
84 olerender_none,
85 olerender_draw,
86 olerender_format
87 } OLEOPT_RENDER;
89 typedef enum
91 oleupdate_always,
92 oleupdate_onsave,
93 oleupdate_oncall,
94 oleupdate_onclose
95 } OLEOPT_UPDATE;
97 typedef enum {
98 OLE_NONE, /* none */
99 OLE_DELETE, /* delete object */
100 OLE_LNKPASTE, /* link paste */
101 OLE_EMBPASTE, /* paste(and update) */
102 OLE_SHOW,
103 OLE_RUN,
104 OLE_ACTIVATE,
105 OLE_UPDATE,
106 OLE_CLOSE,
107 OLE_RECONNECT,
108 OLE_SETUPDATEOPTIONS,
109 OLE_SERVERRUNLAUNCH, /* unlaunch (terminate?) server */
110 OLE_LOADFROMSTREAM, /* (auto reconnect) */
111 OLE_SETDATA, /* OleSetData */
112 OLE_REQUESTDATA, /* OleRequestData */
113 OLE_OTHER,
114 OLE_CREATE,
115 OLE_CREATEFROMTEMPLATE,
116 OLE_CREATELINKFROMFILE,
117 OLE_COPYFROMLNK,
118 OLE_CREATREFROMFILE,
119 OLE_CREATEINVISIBLE
120 } OLE_RELEASE_METHOD;
122 typedef LONG LHCLIENTDOC;
123 typedef struct _OLEOBJECT *_LPOLEOBJECT;
124 typedef struct _OLECLIENT *LPOLECLIENT;
125 typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
126 typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
127 typedef LPCSTR LPCOLESTR16;
129 struct _OLESTREAM;