4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
16 #include "debugtools.h"
18 DEFAULT_DEBUG_CHANNEL(ole);
21 static LONG OLE_current_handle;
23 /******************************************************************************
24 * OleSavedClientDoc [OLECLI32.45]
26 OLESTATUS WINAPI OleSavedClientDoc(LHCLIENTDOC hDoc)
28 FIXME("(%ld: stub\n", hDoc);
32 /******************************************************************************
33 * OleSavedClientDoc [OLECLI.45]
35 OLESTATUS WINAPI OleSavedClientDoc16(LHCLIENTDOC hDoc)
37 FIXME("(%ld: stub\n", hDoc);
41 /******************************************************************************
42 * OleRegisterClientDoc [OLECLI.41]
44 OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
45 LONG reserved, LHCLIENTDOC *hRet )
47 FIXME("(%s,%s,...): stub\n",classname,docname);
48 *hRet=++OLE_current_handle;
52 /******************************************************************************
53 * OleRegisterClientDoc [OLECLI32.41]
55 OLESTATUS WINAPI OleRegisterClientDoc(LPCSTR classname, LPCSTR docname,
56 LONG reserved, LHCLIENTDOC *hRet )
58 FIXME("(%s,%s,...): stub\n",classname,docname);
59 *hRet=++OLE_current_handle;
63 /******************************************************************************
64 * OleRenameClientDoc [OLECLI.43]
66 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
68 FIXME("(%ld,%s,...): stub\n",hDoc, newName);
72 /******************************************************************************
73 * OleRenameClientDoc [OLECLI32.43]
75 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
77 FIXME("(%ld,%s,...): stub\n",hDoc, newName);
81 /******************************************************************************
82 * OleRevokeClientDoc [OLECLI.42]
84 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
86 FIXME("(%ld): stub\n",hServerDoc);
90 /******************************************************************************
91 * OleRevokeClientDoc [OLECLI32.42]
93 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
95 FIXME("(%ld): stub\n",hServerDoc);
99 /******************************************************************************
100 * OleRevertClientDoc [OLECLI.44]
102 OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
104 FIXME("(%ld): stub\n", hServerDoc);
108 /******************************************************************************
109 * OleEnumObjects [OLECLI.47]
111 OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
113 FIXME("(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
118 /******************************************************************************
119 * OleCreateLinkFromClip [OLECLI.11]
121 OLESTATUS WINAPI OleCreateLinkFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDOC hclientdoc,
122 LPCSTR xname, SEGPTR lpoleob, UINT16 render,
125 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
126 name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
127 LOWORD(lpoleob), render, clipformat);
131 /******************************************************************************
132 * OleCreateLinkFromClip [OLECLI32.11]
134 OLESTATUS WINAPI OleCreateLinkFromClip(
135 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
136 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
138 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
139 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
143 /******************************************************************************
144 * OleQueryLinkFromClip [OLECLI.9]
146 OLESTATUS WINAPI OleQueryLinkFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat)
148 FIXME("(%s, %d, %d): stub!\n", name, render, clipformat);
152 /******************************************************************************
153 * OleQueryLinkFromClip [OLECLI32.9]
155 OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
156 FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
160 /******************************************************************************
161 * OleQueryCreateFromClip [OLECLI.10]
163 OLESTATUS WINAPI OleQueryCreateFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat)
165 FIXME("(%s, %d, %d): stub!\n", name, render, clipformat);
169 /******************************************************************************
170 * OleQueryCreateFromClip [OLECLI32.10]
172 OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
173 FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
177 /******************************************************************************
178 * OleIsDcMeta [OLECLI32.60]
180 BOOL WINAPI OleIsDcMeta(HDC hdc)
182 TRACE("(%04x)\n",hdc);
183 return GetObjectType( hdc ) == OBJ_METADC;
187 /******************************************************************************
188 * OleIsDcMeta [OLECLI.60]
190 BOOL16 WINAPI OleIsDcMeta16(HDC16 hdc)
192 return OleIsDcMeta( hdc );
196 /******************************************************************************
197 * OleSetHostNames [OLECLI32.15]
199 OLESTATUS WINAPI OleSetHostNames(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
200 FIXME("(%p,%s,%s): stub\n",oleob,name1,name2);
204 /******************************************************************************
205 * OleQueryType [OLECLI.14]
207 OLESTATUS WINAPI OleQueryType16(LPOLEOBJECT oleob, SEGPTR xlong) {
208 FIXME("(%p, %p): stub!\n", oleob, MapSL(xlong));
212 /******************************************************************************
213 * OleQueryType [OLECLI32.14]
215 OLESTATUS WINAPI OleQueryType(LPOLEOBJECT oleob,LONG*xlong) {
216 FIXME("(%p,%p): stub!\n",oleob,xlong);
219 TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
220 oleob->lpvtbl->QueryType,oleob,xlong);
221 return oleob->lpvtbl->QueryType(oleob,xlong);
224 /******************************************************************************
225 * OleCreateFromClip [OLECLI.12]
227 OLESTATUS WINAPI OleCreateFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDOC hclientdoc,
228 LPCSTR xname, SEGPTR lpoleob,
229 UINT16 render, UINT16 clipformat )
231 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
232 name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
233 LOWORD(lpoleob), render, clipformat);
237 /******************************************************************************
238 * OleCreateFromClip [OLECLI32.12]
240 OLESTATUS WINAPI OleCreateFromClip(
241 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
242 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
244 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
245 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
246 /* clipb type, object kreieren entsprechend etc. */