msxml3: Don't return REFIID to avoid compiler warnings.
[wine/multimedia.git] / dlls / olecli.dll16 / olecli.h
blobb98e025601f64fdf41ea1819e5c01b8217d3d0e8
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 oleupdate_always,
85 oleupdate_onsave,
86 oleupdate_oncall,
87 oleupdate_onclose
88 } OLEOPT_UPDATE;
90 typedef enum {
91 OLE_NONE, /* none */
92 OLE_DELETE, /* delete object */
93 OLE_LNKPASTE, /* link paste */
94 OLE_EMBPASTE, /* paste(and update) */
95 OLE_SHOW,
96 OLE_RUN,
97 OLE_ACTIVATE,
98 OLE_UPDATE,
99 OLE_CLOSE,
100 OLE_RECONNECT,
101 OLE_SETUPDATEOPTIONS,
102 OLE_SERVERRUNLAUNCH, /* unlaunch (terminate?) server */
103 OLE_LOADFROMSTREAM, /* (auto reconnect) */
104 OLE_SETDATA, /* OleSetData */
105 OLE_REQUESTDATA, /* OleRequestData */
106 OLE_OTHER,
107 OLE_CREATE,
108 OLE_CREATEFROMTEMPLATE,
109 OLE_CREATELINKFROMFILE,
110 OLE_COPYFROMLNK,
111 OLE_CREATREFROMFILE,
112 OLE_CREATEINVISIBLE
113 } OLE_RELEASE_METHOD;
115 typedef LONG LHCLIENTDOC;
116 typedef struct _OLEOBJECT *_LPOLEOBJECT;
117 typedef struct _OLECLIENT *LPOLECLIENT;
118 typedef LONG OLECLIPFORMAT;/* dunno about this type, please change/add */
119 typedef OLEOPT_UPDATE *LPOLEOPT_UPDATE;
120 typedef LPCSTR LPCOLESTR16;
122 struct _OLESTREAM;