4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
16 DEFAULT_DEBUG_CHANNEL(ole
)
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
OleRegisterClientDoc(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
OleRenameClientDoc(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
OleRevokeClientDoc(LHCLIENTDOC hServerDoc
)
75 FIXME(ole
,"(%ld): stub\n",hServerDoc
);
79 /******************************************************************************
80 * OleRevertClientDoc16 [OLECLI.44]
82 OLESTATUS WINAPI
OleRevertClientDoc16(LHCLIENTDOC hServerDoc
)
84 FIXME(ole
, "(%ld): stub\n", hServerDoc
);
88 /******************************************************************************
89 * OleEnumObjects16 [OLECLI.47]
91 OLESTATUS WINAPI
OleEnumObjects16(LHCLIENTDOC hServerDoc
, SEGPTR data
)
93 FIXME(ole
, "(%ld, %04x:%04x): stub\n", hServerDoc
, HIWORD(data
),
98 /******************************************************************************
99 * OleCreateLinkFromClip16 [OLECLI.11]
101 OLESTATUS WINAPI
OleCreateLinkFromClip16(
102 LPCSTR name
, LPOLECLIENT olecli
, LHCLIENTDOC hclientdoc
, LPCSTR xname
,
103 LPOLEOBJECT
*lpoleob
, UINT16 render
, UINT16 clipformat
105 FIXME(ole
, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
106 (char *)PTR_SEG_TO_LIN(name
), HIWORD(olecli
), LOWORD(olecli
),
107 hclientdoc
, (char *)PTR_SEG_TO_LIN(xname
), HIWORD(lpoleob
),
108 LOWORD(lpoleob
), render
, clipformat
);
112 /******************************************************************************
113 * OleCreateLinkFromClip32 [OLECLI32.11]
115 OLESTATUS WINAPI
OleCreateLinkFromClip(
116 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
117 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
119 FIXME(ole
,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
120 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
124 /******************************************************************************
125 * OleQueryLinkFromClip16 [OLECLI.9]
127 OLESTATUS WINAPI
OleQueryLinkFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
) {
128 FIXME(ole
, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name
)),
133 /******************************************************************************
134 * OleQueryLinkFromClip32 [OLECLI32.9]
136 OLESTATUS WINAPI
OleQueryLinkFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
137 FIXME(ole
,"(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
141 /******************************************************************************
142 * OleQueryCreateFromClip16 [OLECLI.10]
144 OLESTATUS WINAPI
OleQueryCreateFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
) {
145 FIXME(ole
, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name
)),
150 /******************************************************************************
151 * OleQueryCreateFromClip32 [OLECLI32.10]
153 OLESTATUS WINAPI
OleQueryCreateFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
154 FIXME(ole
,"(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
158 /******************************************************************************
159 * OleIsDcMeta16 [OLECLI.60]
161 BOOL16 WINAPI
OleIsDcMeta16(HDC16 hdc
)
163 TRACE(ole
,"(%04x)\n",hdc
);
164 if (GDI_GetObjPtr( hdc
, METAFILE_DC_MAGIC
) != 0) {
165 GDI_HEAP_UNLOCK( hdc
);
172 /******************************************************************************
173 * OleIsDcMeta32 [OLECLI32.60]
175 BOOL WINAPI
OleIsDcMeta(HDC hdc
)
177 TRACE(ole
,"(%04x)\n",hdc
);
178 if (GDI_GetObjPtr( hdc
, METAFILE_DC_MAGIC
) != 0) {
179 GDI_HEAP_UNLOCK( hdc
);
186 /******************************************************************************
187 * OleSetHostNames32 [OLECLI32.15]
189 OLESTATUS WINAPI
OleSetHostNames(LPOLEOBJECT oleob
,LPCSTR name1
,LPCSTR name2
) {
190 FIXME(ole
,"(%p,%s,%s): stub\n",oleob
,name1
,name2
);
194 /******************************************************************************
195 * OleQueryType16 [OLECLI.14]
197 OLESTATUS WINAPI
OleQueryType16(LPOLEOBJECT oleob
, SEGPTR xlong
) {
198 FIXME(ole
, "(%p, %p): stub!\n",
199 PTR_SEG_TO_LIN(oleob
), PTR_SEG_TO_LIN(xlong
));
203 /******************************************************************************
204 * OleQueryType32 [OLECLI32.14]
206 OLESTATUS WINAPI
OleQueryType(LPOLEOBJECT oleob
,LONG
*xlong
) {
207 FIXME(ole
,"(%p,%p): stub!\n",oleob
,xlong
);
210 TRACE(ole
,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
211 oleob
->lpvtbl
->QueryType
,oleob
,xlong
);
212 return oleob
->lpvtbl
->QueryType(oleob
,xlong
);
215 /******************************************************************************
216 * OleCreateFromClip16 [OLECLI.12]
218 OLESTATUS WINAPI
OleCreateFromClip16(
219 LPCSTR name
, LPOLECLIENT olecli
, LHCLIENTDOC hclientdoc
, LPCSTR xname
,
220 LPOLEOBJECT
*lpoleob
, UINT16 render
, UINT16 clipformat
222 FIXME(ole
, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
223 (char *)PTR_SEG_TO_LIN(name
), HIWORD(olecli
), LOWORD(olecli
),
224 hclientdoc
, (char *)PTR_SEG_TO_LIN(xname
), HIWORD(lpoleob
),
225 LOWORD(lpoleob
), render
, clipformat
);
229 /******************************************************************************
230 * OleCreateFromClip32 [OLECLI32.12]
232 OLESTATUS WINAPI
OleCreateFromClip(
233 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
234 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
, OLECLIPFORMAT clipformat
236 FIXME(ole
,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
237 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
238 /* clipb type, object kreieren entsprechend etc. */
242 /***********************************************************************
243 * OleIsCurrentClipboard32 [OLE32.110]
245 HRESULT WINAPI
OleIsCurrentClipboard (
246 IDataObject
*pDataObject
) /* ptr to the data obj previously copied or cut */
248 FIXME(ole
,"(DataObject %p): stub!\n", pDataObject
);