4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
13 #include "debugtools.h"
15 DEFAULT_DEBUG_CHANNEL(ole);
18 static LONG OLE_current_handle;
20 /******************************************************************************
21 * OleRegisterClientDoc16 [OLECLI.41]
23 OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
24 LONG reserved, LHCLIENTDOC *hRet )
26 FIXME("(%s,%s,...): stub\n",classname,docname);
27 *hRet=++OLE_current_handle;
31 /******************************************************************************
32 * OleRegisterClientDoc [OLECLI32.41]
34 OLESTATUS WINAPI OleRegisterClientDoc(LPCSTR classname, LPCSTR docname,
35 LONG reserved, LHCLIENTDOC *hRet )
37 FIXME("(%s,%s,...): stub\n",classname,docname);
38 *hRet=++OLE_current_handle;
42 /******************************************************************************
43 * OleRenameClientDoc16 [OLECLI.43]
45 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
47 FIXME("(%ld,%s,...): stub\n",hDoc, newName);
51 /******************************************************************************
52 * OleRenameClientDoc [OLECLI32.43]
54 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
56 FIXME("(%ld,%s,...): stub\n",hDoc, newName);
60 /******************************************************************************
61 * OleRevokeClientDoc16 [OLECLI.42]
63 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
65 FIXME("(%ld): stub\n",hServerDoc);
69 /******************************************************************************
70 * OleRevokeClientDoc [OLECLI32.42]
72 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
74 FIXME("(%ld): stub\n",hServerDoc);
78 /******************************************************************************
79 * OleRevertClientDoc16 [OLECLI.44]
81 OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
83 FIXME("(%ld): stub\n", hServerDoc);
87 /******************************************************************************
88 * OleEnumObjects16 [OLECLI.47]
90 OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
92 FIXME("(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
97 /******************************************************************************
98 * OleCreateLinkFromClip16 [OLECLI.11]
100 OLESTATUS WINAPI OleCreateLinkFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDOC hclientdoc,
101 LPCSTR xname, SEGPTR lpoleob, UINT16 render,
104 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
105 name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
106 LOWORD(lpoleob), render, clipformat);
110 /******************************************************************************
111 * OleCreateLinkFromClip [OLECLI32.11]
113 OLESTATUS WINAPI OleCreateLinkFromClip(
114 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
115 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
117 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
118 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
122 /******************************************************************************
123 * OleQueryLinkFromClip16 [OLECLI.9]
125 OLESTATUS WINAPI OleQueryLinkFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat)
127 FIXME("(%s, %d, %d): stub!\n", name, render, clipformat);
131 /******************************************************************************
132 * OleQueryLinkFromClip [OLECLI32.9]
134 OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
135 FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
139 /******************************************************************************
140 * OleQueryCreateFromClip16 [OLECLI.10]
142 OLESTATUS WINAPI OleQueryCreateFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat)
144 FIXME("(%s, %d, %d): stub!\n", name, render, clipformat);
148 /******************************************************************************
149 * OleQueryCreateFromClip [OLECLI32.10]
151 OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
152 FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
156 /******************************************************************************
157 * OleIsDcMeta [OLECLI32.60]
159 BOOL WINAPI OleIsDcMeta(HDC hdc)
161 TRACE("(%04x)\n",hdc);
162 return GetObjectType( hdc ) == OBJ_METADC;
166 /******************************************************************************
167 * OleIsDcMeta16 [OLECLI.60]
169 BOOL16 WINAPI OleIsDcMeta16(HDC16 hdc)
171 return OleIsDcMeta( hdc );
175 /******************************************************************************
176 * OleSetHostNames [OLECLI32.15]
178 OLESTATUS WINAPI OleSetHostNames(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
179 FIXME("(%p,%s,%s): stub\n",oleob,name1,name2);
183 /******************************************************************************
184 * OleQueryType16 [OLECLI.14]
186 OLESTATUS WINAPI OleQueryType16(LPOLEOBJECT oleob, SEGPTR xlong) {
187 FIXME("(%p, %p): stub!\n", oleob, MapSL(xlong));
191 /******************************************************************************
192 * OleQueryType [OLECLI32.14]
194 OLESTATUS WINAPI OleQueryType(LPOLEOBJECT oleob,LONG*xlong) {
195 FIXME("(%p,%p): stub!\n",oleob,xlong);
198 TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
199 oleob->lpvtbl->QueryType,oleob,xlong);
200 return oleob->lpvtbl->QueryType(oleob,xlong);
203 /******************************************************************************
204 * OleCreateFromClip16 [OLECLI.12]
206 OLESTATUS WINAPI OleCreateFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDOC hclientdoc,
207 LPCSTR xname, SEGPTR lpoleob,
208 UINT16 render, UINT16 clipformat )
210 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
211 name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
212 LOWORD(lpoleob), render, clipformat);
216 /******************************************************************************
217 * OleCreateFromClip [OLECLI32.12]
219 OLESTATUS WINAPI OleCreateFromClip(
220 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
221 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
223 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
224 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
225 /* clipb type, object kreieren entsprechend etc. */