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 * OleSavedClientDoc [OLECLI32.45]
23 OLESTATUS WINAPI
OleSavedClientDoc(LHCLIENTDOC hDoc
)
25 FIXME("(%ld: stub\n", hDoc
);
29 /******************************************************************************
30 * OleSavedClientDoc16 [OLECLI.45]
32 OLESTATUS WINAPI
OleSavedClientDoc16(LHCLIENTDOC hDoc
)
34 FIXME("(%ld: stub\n", hDoc
);
38 /******************************************************************************
39 * OleRegisterClientDoc16 [OLECLI.41]
41 OLESTATUS WINAPI
OleRegisterClientDoc16(LPCSTR classname
, LPCSTR docname
,
42 LONG reserved
, LHCLIENTDOC
*hRet
)
44 FIXME("(%s,%s,...): stub\n",classname
,docname
);
45 *hRet
=++OLE_current_handle
;
49 /******************************************************************************
50 * OleRegisterClientDoc [OLECLI32.41]
52 OLESTATUS WINAPI
OleRegisterClientDoc(LPCSTR classname
, LPCSTR docname
,
53 LONG reserved
, LHCLIENTDOC
*hRet
)
55 FIXME("(%s,%s,...): stub\n",classname
,docname
);
56 *hRet
=++OLE_current_handle
;
60 /******************************************************************************
61 * OleRenameClientDoc16 [OLECLI.43]
63 OLESTATUS WINAPI
OleRenameClientDoc16(LHCLIENTDOC hDoc
, LPCSTR newName
)
65 FIXME("(%ld,%s,...): stub\n",hDoc
, newName
);
69 /******************************************************************************
70 * OleRenameClientDoc [OLECLI32.43]
72 OLESTATUS WINAPI
OleRenameClientDoc(LHCLIENTDOC hDoc
, LPCSTR newName
)
74 FIXME("(%ld,%s,...): stub\n",hDoc
, newName
);
78 /******************************************************************************
79 * OleRevokeClientDoc16 [OLECLI.42]
81 OLESTATUS WINAPI
OleRevokeClientDoc16(LHCLIENTDOC hServerDoc
)
83 FIXME("(%ld): stub\n",hServerDoc
);
87 /******************************************************************************
88 * OleRevokeClientDoc [OLECLI32.42]
90 OLESTATUS WINAPI
OleRevokeClientDoc(LHCLIENTDOC hServerDoc
)
92 FIXME("(%ld): stub\n",hServerDoc
);
96 /******************************************************************************
97 * OleRevertClientDoc16 [OLECLI.44]
99 OLESTATUS WINAPI
OleRevertClientDoc16(LHCLIENTDOC hServerDoc
)
101 FIXME("(%ld): stub\n", hServerDoc
);
105 /******************************************************************************
106 * OleEnumObjects16 [OLECLI.47]
108 OLESTATUS WINAPI
OleEnumObjects16(LHCLIENTDOC hServerDoc
, SEGPTR data
)
110 FIXME("(%ld, %04x:%04x): stub\n", hServerDoc
, HIWORD(data
),
115 /******************************************************************************
116 * OleCreateLinkFromClip16 [OLECLI.11]
118 OLESTATUS WINAPI
OleCreateLinkFromClip16( LPCSTR name
, SEGPTR olecli
, LHCLIENTDOC hclientdoc
,
119 LPCSTR xname
, SEGPTR lpoleob
, UINT16 render
,
122 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
123 name
, HIWORD(olecli
), LOWORD(olecli
), hclientdoc
, xname
, HIWORD(lpoleob
),
124 LOWORD(lpoleob
), render
, clipformat
);
128 /******************************************************************************
129 * OleCreateLinkFromClip [OLECLI32.11]
131 OLESTATUS WINAPI
OleCreateLinkFromClip(
132 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
133 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
135 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
136 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
140 /******************************************************************************
141 * OleQueryLinkFromClip16 [OLECLI.9]
143 OLESTATUS WINAPI
OleQueryLinkFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
)
145 FIXME("(%s, %d, %d): stub!\n", name
, render
, clipformat
);
149 /******************************************************************************
150 * OleQueryLinkFromClip [OLECLI32.9]
152 OLESTATUS WINAPI
OleQueryLinkFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
153 FIXME("(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
157 /******************************************************************************
158 * OleQueryCreateFromClip16 [OLECLI.10]
160 OLESTATUS WINAPI
OleQueryCreateFromClip16(LPCSTR name
, UINT16 render
, UINT16 clipformat
)
162 FIXME("(%s, %d, %d): stub!\n", name
, render
, clipformat
);
166 /******************************************************************************
167 * OleQueryCreateFromClip [OLECLI32.10]
169 OLESTATUS WINAPI
OleQueryCreateFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
170 FIXME("(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
174 /******************************************************************************
175 * OleIsDcMeta [OLECLI32.60]
177 BOOL WINAPI
OleIsDcMeta(HDC hdc
)
179 TRACE("(%04x)\n",hdc
);
180 return GetObjectType( hdc
) == OBJ_METADC
;
184 /******************************************************************************
185 * OleIsDcMeta16 [OLECLI.60]
187 BOOL16 WINAPI
OleIsDcMeta16(HDC16 hdc
)
189 return OleIsDcMeta( hdc
);
193 /******************************************************************************
194 * OleSetHostNames [OLECLI32.15]
196 OLESTATUS WINAPI
OleSetHostNames(LPOLEOBJECT oleob
,LPCSTR name1
,LPCSTR name2
) {
197 FIXME("(%p,%s,%s): stub\n",oleob
,name1
,name2
);
201 /******************************************************************************
202 * OleQueryType16 [OLECLI.14]
204 OLESTATUS WINAPI
OleQueryType16(LPOLEOBJECT oleob
, SEGPTR xlong
) {
205 FIXME("(%p, %p): stub!\n", oleob
, MapSL(xlong
));
209 /******************************************************************************
210 * OleQueryType [OLECLI32.14]
212 OLESTATUS WINAPI
OleQueryType(LPOLEOBJECT oleob
,LONG
*xlong
) {
213 FIXME("(%p,%p): stub!\n",oleob
,xlong
);
216 TRACE("Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
217 oleob
->lpvtbl
->QueryType
,oleob
,xlong
);
218 return oleob
->lpvtbl
->QueryType(oleob
,xlong
);
221 /******************************************************************************
222 * OleCreateFromClip16 [OLECLI.12]
224 OLESTATUS WINAPI
OleCreateFromClip16( LPCSTR name
, SEGPTR olecli
, LHCLIENTDOC hclientdoc
,
225 LPCSTR xname
, SEGPTR lpoleob
,
226 UINT16 render
, UINT16 clipformat
)
228 FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
229 name
, HIWORD(olecli
), LOWORD(olecli
), hclientdoc
, xname
, HIWORD(lpoleob
),
230 LOWORD(lpoleob
), render
, clipformat
);
234 /******************************************************************************
235 * OleCreateFromClip [OLECLI32.12]
237 OLESTATUS WINAPI
OleCreateFromClip(
238 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
239 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
, OLECLIPFORMAT clipformat
241 FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
242 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
243 /* clipb type, object kreieren entsprechend etc. */