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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 /* At the moment, these are only empty stubs.
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(ole
);
35 static LONG OLE_current_handle
;
37 /******************************************************************************
38 * OleSavedClientDoc [OLECLI32.45]
40 OLESTATUS WINAPI
OleSavedClientDoc(LHCLIENTDOC hDoc
)
42 FIXME("(%ld: stub\n", hDoc
);
46 /******************************************************************************
47 * OleSavedClientDoc [OLECLI.45]
49 OLESTATUS WINAPI
OleSavedClientDoc16(LHCLIENTDOC hDoc
)
51 FIXME("(%ld: stub\n", hDoc
);
55 /******************************************************************************
56 * OleRegisterClientDoc [OLECLI.41]
58 OLESTATUS WINAPI
OleRegisterClientDoc16(LPCSTR classname
, LPCSTR docname
,
59 LONG reserved
, LHCLIENTDOC
*hRet
)
61 FIXME("(%s,%s,...): stub\n",classname
,docname
);
62 *hRet
=++OLE_current_handle
;
66 /******************************************************************************
67 * OleRegisterClientDoc [OLECLI32.41]
69 OLESTATUS WINAPI
OleRegisterClientDoc(LPCSTR classname
, LPCSTR docname
,
70 LONG reserved
, LHCLIENTDOC
*hRet
)
72 FIXME("(%s,%s,...): stub\n",classname
,docname
);
73 *hRet
=++OLE_current_handle
;
77 /******************************************************************************
78 * OleRenameClientDoc [OLECLI.43]
80 OLESTATUS WINAPI
OleRenameClientDoc16(LHCLIENTDOC hDoc
, LPCSTR newName
)
82 FIXME("(%ld,%s,...): stub\n",hDoc
, newName
);
86 /******************************************************************************
87 * OleRenameClientDoc [OLECLI32.43]
89 OLESTATUS WINAPI
OleRenameClientDoc(LHCLIENTDOC hDoc
, LPCSTR newName
)
91 FIXME("(%ld,%s,...): stub\n",hDoc
, newName
);
95 /******************************************************************************
96 * OleRevokeClientDoc [OLECLI.42]
98 OLESTATUS WINAPI
OleRevokeClientDoc16(LHCLIENTDOC hServerDoc
)
100 FIXME("(%ld): stub\n",hServerDoc
);
104 /******************************************************************************
105 * OleRevokeClientDoc [OLECLI32.42]
107 OLESTATUS WINAPI
OleRevokeClientDoc(LHCLIENTDOC hServerDoc
)
109 FIXME("(%ld): stub\n",hServerDoc
);
113 /******************************************************************************
114 * OleRevertClientDoc [OLECLI.44]
116 OLESTATUS WINAPI
OleRevertClientDoc16(LHCLIENTDOC hServerDoc
)
118 FIXME("(%ld): stub\n", hServerDoc
);
122 /******************************************************************************
123 * OleEnumObjects [OLECLI.47]
125 OLESTATUS WINAPI
OleEnumObjects16(LHCLIENTDOC hServerDoc
, SEGPTR data
)
127 FIXME("(%ld, %04x:%04x): stub\n", hServerDoc
, HIWORD(data
),
132 /******************************************************************************
133 * OleCreateLinkFromClip [OLECLI.11]
135 OLESTATUS WINAPI
OleCreateLinkFromClip16( LPCSTR name
, SEGPTR olecli
, LHCLIENTDOC hclientdoc
,
136 LPCSTR xname
, SEGPTR lpoleob
, UINT16 render
,
139 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
140 name
, HIWORD(olecli
), LOWORD(olecli
), hclientdoc
, xname
, HIWORD(lpoleob
),
141 LOWORD(lpoleob
), render
, clipformat
);
145 /******************************************************************************
146 * OleCreateLinkFromClip [OLECLI32.11]
148 OLESTATUS WINAPI
OleCreateLinkFromClip(
149 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
150 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
152 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
153 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
157 /******************************************************************************
158 * OleQueryLinkFromClip [OLECLI.9]
160 OLESTATUS WINAPI
OleQueryLinkFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
)
162 FIXME("(%s, %d, %d): stub!\n", name
, render
, clipformat
);
166 /******************************************************************************
167 * OleQueryLinkFromClip [OLECLI32.9]
169 OLESTATUS WINAPI
OleQueryLinkFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
170 FIXME("(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
174 /******************************************************************************
175 * OleQueryCreateFromClip [OLECLI.10]
177 OLESTATUS WINAPI
OleQueryCreateFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
)
179 FIXME("(%s, %d, %d): stub!\n", name
, render
, clipformat
);
183 /******************************************************************************
184 * OleQueryCreateFromClip [OLECLI32.10]
186 OLESTATUS WINAPI
OleQueryCreateFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
187 FIXME("(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
191 /******************************************************************************
192 * OleIsDcMeta [OLECLI32.60]
194 BOOL WINAPI
OleIsDcMeta(HDC hdc
)
196 TRACE("(%04x)\n",hdc
);
197 return GetObjectType( hdc
) == OBJ_METADC
;
201 /******************************************************************************
202 * OleIsDcMeta [OLECLI.60]
204 BOOL16 WINAPI
OleIsDcMeta16(HDC16 hdc
)
206 return OleIsDcMeta( hdc
);
210 /******************************************************************************
211 * OleSetHostNames [OLECLI32.15]
213 OLESTATUS WINAPI
OleSetHostNames(LPOLEOBJECT oleob
,LPCSTR name1
,LPCSTR name2
) {
214 FIXME("(%p,%s,%s): stub\n",oleob
,name1
,name2
);
218 /******************************************************************************
219 * OleQueryType [OLECLI.14]
221 OLESTATUS WINAPI
OleQueryType16(LPOLEOBJECT oleob
, SEGPTR xlong
) {
222 FIXME("(%p, %p): stub!\n", oleob
, MapSL(xlong
));
226 /******************************************************************************
227 * OleQueryType [OLECLI32.14]
229 OLESTATUS WINAPI
OleQueryType(LPOLEOBJECT oleob
,LONG
*xlong
) {
230 FIXME("(%p,%p): stub!\n",oleob
,xlong
);
233 TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
234 oleob
->lpvtbl
->QueryType
,oleob
,xlong
);
235 return oleob
->lpvtbl
->QueryType(oleob
,xlong
);
238 /******************************************************************************
239 * OleCreateFromClip [OLECLI.12]
241 OLESTATUS WINAPI
OleCreateFromClip16( LPCSTR name
, SEGPTR olecli
, LHCLIENTDOC hclientdoc
,
242 LPCSTR xname
, SEGPTR lpoleob
,
243 UINT16 render
, UINT16 clipformat
)
245 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
246 name
, HIWORD(olecli
), LOWORD(olecli
), hclientdoc
, xname
, HIWORD(lpoleob
),
247 LOWORD(lpoleob
), render
, clipformat
);
251 /******************************************************************************
252 * OleCreateFromClip [OLECLI32.12]
254 OLESTATUS WINAPI
OleCreateFromClip(
255 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
256 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
, OLECLIPFORMAT clipformat
258 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
259 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
260 /* clipb type, object kreieren entsprechend etc. */