4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
19 extern LONG OLE_current_handle;
21 /******************************************************************************
22 * OleRegisterClientDoc16 [OLECLI.41]
24 OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
25 LONG reserved, LHCLIENTDOC *hRet )
27 FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
28 *hRet=++OLE_current_handle;
32 /******************************************************************************
33 * OleRegisterClientDoc32 [OLECLI32.41]
35 OLESTATUS WINAPI OleRegisterClientDoc32(LPCSTR classname, LPCSTR docname,
36 LONG reserved, LHCLIENTDOC *hRet )
38 FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
39 *hRet=++OLE_current_handle;
43 /******************************************************************************
44 * OleRenameClientDoc16 [OLECLI.43]
46 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
48 FIXME(ole,"(%ld,%s,...): stub\n",hDoc, newName);
52 /******************************************************************************
53 * OleRenameClientDoc32 [OLECLI32.43]
55 OLESTATUS WINAPI OleRenameClientDoc32(LHCLIENTDOC hDoc, LPCSTR newName)
57 FIXME(ole,"(%ld,%s,...): stub\n",hDoc, newName);
61 /******************************************************************************
62 * OleRevokeClientDoc16 [OLECLI.42]
64 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
66 FIXME(ole,"(%ld): stub\n",hServerDoc);
70 /******************************************************************************
71 * OleRevokeClientDoc32 [OLECLI32.42]
73 OLESTATUS WINAPI OleRevokeClientDoc32(LHCLIENTDOC hServerDoc)
75 FIXME(ole,"(%ld): stub\n",hServerDoc);
79 /******************************************************************************
80 * OleCreateLinkFromClip32 [OLECLI32.11]
82 OLESTATUS WINAPI OleCreateLinkFromClip32(
83 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
84 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
86 FIXME(ole,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
87 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
91 /******************************************************************************
92 * OleQueryLinkFromClip32 [OLECLI32.9]
94 OLESTATUS WINAPI OleQueryLinkFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
95 FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
98 /******************************************************************************
99 * OleQueryCreateFromClip32 [OLECLI32.10]
101 OLESTATUS WINAPI OleQueryCreateFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
102 FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
107 /******************************************************************************
108 * OleIsDcMeta16 [OLECLI.60]
110 BOOL16 WINAPI OleIsDcMeta16(HDC16 hdc)
112 TRACE(ole,"(%04x)\n",hdc);
113 if (GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0) {
114 GDI_HEAP_UNLOCK( hdc );
121 /******************************************************************************
122 * OleIsDcMeta32 [OLECLI32.60]
124 BOOL32 WINAPI OleIsDcMeta32(HDC32 hdc)
126 TRACE(ole,"(%04x)\n",hdc);
127 if (GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0) {
128 GDI_HEAP_UNLOCK( hdc );
135 /******************************************************************************
136 * OleSetHostNames32 [OLECLI32.15]
138 OLESTATUS WINAPI OleSetHostNames32(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
139 FIXME(ole,"(%p,%s,%s): stub\n",oleob,name1,name2);
143 /******************************************************************************
144 * OleQueryType32 [OLECLI32.14]
146 OLESTATUS WINAPI OleQueryType32(LPOLEOBJECT oleob,LONG*xlong) {
147 FIXME(ole,"(%p,%p): stub!\n",oleob,xlong);
150 TRACE(ole,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
151 oleob->lpvtbl->QueryType,oleob,xlong);
152 return oleob->lpvtbl->QueryType(oleob,xlong);
155 /******************************************************************************
156 * OleCreateFromClip32 [OLECLI32.12]
158 OLESTATUS WINAPI OleCreateFromClip32(
159 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
160 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
162 FIXME(ole,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
163 name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
164 /* clipb type, object kreieren entsprechend etc. */
168 /***********************************************************************
169 * OleIsCurrentClipboard32 [OLE32.110]
171 HRESULT WINAPI OleIsCurrentClipboard32 (
172 IDataObject *pDataObject) /* ptr to the data obj previously copied or cut */
174 FIXME(ole,"(DataObject %p): stub!\n", pDataObject);