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 * OleCreateLinkFromClip32 [OLECLI32.11]
80 OLESTATUS WINAPI
OleCreateLinkFromClip(
81 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
82 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
84 FIXME(ole
,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
85 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
89 /******************************************************************************
90 * OleQueryLinkFromClip32 [OLECLI32.9]
92 OLESTATUS WINAPI
OleQueryLinkFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
93 FIXME(ole
,"(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
96 /******************************************************************************
97 * OleQueryCreateFromClip32 [OLECLI32.10]
99 OLESTATUS WINAPI
OleQueryCreateFromClip(LPCSTR name
,OLEOPT_RENDER render
,OLECLIPFORMAT clipformat
) {
100 FIXME(ole
,"(%s,%d,%ld): stub!\n",name
,render
,clipformat
);
105 /******************************************************************************
106 * OleIsDcMeta16 [OLECLI.60]
108 BOOL16 WINAPI
OleIsDcMeta16(HDC16 hdc
)
110 TRACE(ole
,"(%04x)\n",hdc
);
111 if (GDI_GetObjPtr( hdc
, METAFILE_DC_MAGIC
) != 0) {
112 GDI_HEAP_UNLOCK( hdc
);
119 /******************************************************************************
120 * OleIsDcMeta32 [OLECLI32.60]
122 BOOL WINAPI
OleIsDcMeta(HDC hdc
)
124 TRACE(ole
,"(%04x)\n",hdc
);
125 if (GDI_GetObjPtr( hdc
, METAFILE_DC_MAGIC
) != 0) {
126 GDI_HEAP_UNLOCK( hdc
);
133 /******************************************************************************
134 * OleSetHostNames32 [OLECLI32.15]
136 OLESTATUS WINAPI
OleSetHostNames(LPOLEOBJECT oleob
,LPCSTR name1
,LPCSTR name2
) {
137 FIXME(ole
,"(%p,%s,%s): stub\n",oleob
,name1
,name2
);
141 /******************************************************************************
142 * OleQueryType32 [OLECLI32.14]
144 OLESTATUS WINAPI
OleQueryType(LPOLEOBJECT oleob
,LONG
*xlong
) {
145 FIXME(ole
,"(%p,%p): stub!\n",oleob
,xlong
);
148 TRACE(ole
,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
149 oleob
->lpvtbl
->QueryType
,oleob
,xlong
);
150 return oleob
->lpvtbl
->QueryType(oleob
,xlong
);
153 /******************************************************************************
154 * OleCreateFromClip32 [OLECLI32.12]
156 OLESTATUS WINAPI
OleCreateFromClip(
157 LPCSTR name
,LPOLECLIENT olecli
,LHCLIENTDOC hclientdoc
,LPCSTR xname
,
158 LPOLEOBJECT
*lpoleob
,OLEOPT_RENDER render
, OLECLIPFORMAT clipformat
160 FIXME(ole
,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
161 name
,olecli
,hclientdoc
,xname
,lpoleob
,render
,clipformat
);
162 /* clipb type, object kreieren entsprechend etc. */
166 /***********************************************************************
167 * OleIsCurrentClipboard32 [OLE32.110]
169 HRESULT WINAPI
OleIsCurrentClipboard (
170 IDataObject
*pDataObject
) /* ptr to the data obj previously copied or cut */
172 FIXME(ole
,"(DataObject %p): stub!\n", pDataObject
);