4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
17 extern LONG OLE_current_handle;
19 /******************************************************************************
20 * OleRegisterClientDoc16 [OLECLI.41]
22 OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
23 LONG reserved, LHCLIENTDOC *hRet )
25 FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
26 *hRet=++OLE_current_handle;
30 /******************************************************************************
31 * OleRegisterClientDoc32 [OLECLI32.41]
33 OLESTATUS WINAPI OleRegisterClientDoc(LPCSTR classname, LPCSTR docname,
34 LONG reserved, LHCLIENTDOC *hRet )
36 FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
37 *hRet=++OLE_current_handle;
41 /******************************************************************************
42 * OleRenameClientDoc16 [OLECLI.43]
44 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
46 FIXME(ole,"(%ld,%s,...): stub\n",hDoc, newName);
50 /******************************************************************************
51 * OleRenameClientDoc32 [OLECLI32.43]
53 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
55 FIXME(ole,"(%ld,%s,...): stub\n",hDoc, newName);
59 /******************************************************************************
60 * OleRevokeClientDoc16 [OLECLI.42]
62 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
64 FIXME(ole,"(%ld): stub\n",hServerDoc);
68 /******************************************************************************
69 * OleRevokeClientDoc32 [OLECLI32.42]
71 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
73 FIXME(ole,"(%ld): stub\n",hServerDoc);
77 /******************************************************************************
78 * OleRevertClientDoc16 [OLECLI.44]
80 OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
82 FIXME(ole, "(%ld): stub\n", hServerDoc);
86 /******************************************************************************
87 * OleEnumObjects16 [OLECLI.47]
89 OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
91 FIXME(ole, "(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
96 /******************************************************************************
97 * OleCreateLinkFromClip16 [OLECLI.11]
99 OLESTATUS WINAPI OleCreateLinkFromClip16(
100 LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
101 LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat
103 FIXME(ole, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
104 (char *)PTR_SEG_TO_LIN(name), HIWORD(olecli), LOWORD(olecli),
105 hclientdoc, (char *)PTR_SEG_TO_LIN(xname), HIWORD(lpoleob),
106 LOWORD(lpoleob), render, clipformat);
110 /******************************************************************************
111 * OleCreateLinkFromClip32 [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(ole,"(%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) {
126 FIXME(ole, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name)),
131 /******************************************************************************
132 * OleQueryLinkFromClip32 [OLECLI32.9]
134 OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
135 FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
139 /******************************************************************************
140 * OleQueryCreateFromClip16 [OLECLI.10]
142 OLESTATUS WINAPI OleQueryCreateFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat) {
143 FIXME(ole, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name)),
148 /******************************************************************************
149 * OleQueryCreateFromClip32 [OLECLI32.10]
151 OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
152 FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
156 /******************************************************************************
157 * OleIsDcMeta16 [OLECLI.60]
159 BOOL16 WINAPI OleIsDcMeta16(HDC16 hdc)
161 TRACE(ole,"(%04x)\n",hdc);
162 if (GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0) {
163 GDI_HEAP_UNLOCK( hdc );
170 /******************************************************************************
171 * OleIsDcMeta32 [OLECLI32.60]
173 BOOL WINAPI OleIsDcMeta(HDC hdc)
175 TRACE(ole,"(%04x)\n",hdc);
176 if (GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0) {
177 GDI_HEAP_UNLOCK( hdc );
184 /******************************************************************************
185 * OleSetHostNames32 [OLECLI32.15]
187 OLESTATUS WINAPI OleSetHostNames(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
188 FIXME(ole,"(%p,%s,%s): stub\n",oleob,name1,name2);
192 /******************************************************************************
193 * OleQueryType16 [OLECLI.14]
195 OLESTATUS WINAPI OleQueryType16(LPOLEOBJECT oleob, SEGPTR xlong) {
196 FIXME(ole, "(%p, %p): stub!\n",
197 PTR_SEG_TO_LIN(oleob), PTR_SEG_TO_LIN(xlong));
201 /******************************************************************************
202 * OleQueryType32 [OLECLI32.14]
204 OLESTATUS WINAPI OleQueryType(LPOLEOBJECT oleob,LONG*xlong) {
205 FIXME(ole,"(%p,%p): stub!\n",oleob,xlong);
208 TRACE(ole,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
209 oleob->lpvtbl->QueryType,oleob,xlong);
210 return oleob->lpvtbl->QueryType(oleob,xlong);
213 /******************************************************************************
214 * OleCreateFromClip16 [OLECLI.12]
216 OLESTATUS WINAPI OleCreateFromClip16(
217 LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
218 LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat
220 FIXME(ole, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
221 (char *)PTR_SEG_TO_LIN(name), HIWORD(olecli), LOWORD(olecli),
222 hclientdoc, (char *)PTR_SEG_TO_LIN(xname), HIWORD(lpoleob),
223 LOWORD(lpoleob), render, clipformat);
227 /******************************************************************************
228 * OleCreateFromClip32 [OLECLI32.12]
230 OLESTATUS WINAPI OleCreateFromClip(
231 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
232 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
234 FIXME(ole,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
235 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
236 /* clipb type, object kreieren entsprechend etc. */
240 /***********************************************************************
241 * OleIsCurrentClipboard32 [OLE32.110]
243 HRESULT WINAPI OleIsCurrentClipboard (
244 IDataObject *pDataObject) /* ptr to the data obj previously copied or cut */
246 FIXME(ole,"(DataObject %p): stub!\n", pDataObject);