Release 960811
[wine] / misc / olecli.c
1 /*
2  *      OLECLI library
3  *
4  *      Copyright 1995  Martin von Loewis
5  */
6
7 /*      At the moment, these are only empty stubs.
8  */
9
10 #include "windows.h"
11 #include "ole.h"
12 #include "gdi.h"
13 #include "stddebug.h"
14 #include "debug.h"
15
16 extern LONG     OLE_current_handle;
17
18 /***********************************************************************
19  *           OleRegisterClientDoc
20  */
21 OLESTATUS OleRegisterClientDoc( LPCSTR classname, LPCSTR docname,
22                                 LONG reserved, LHCLIENTDOC *hRet )
23 {
24     dprintf_ole(stdnimp,"OleRegisterClientDoc:%s %s\n",classname,docname);
25     *hRet=++OLE_current_handle;
26     return OLE_OK;
27 }
28
29 /***********************************************************************
30  *           OleRenameClientDoc
31  */
32 OLESTATUS OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
33 {
34     dprintf_ole(stdnimp,"OleRenameClientDoc: %ld %s\n",hDoc, newName);
35     return OLE_OK;
36 }
37
38 /***********************************************************************
39  *           OleRevokeClientDoc
40  */
41 OLESTATUS OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
42 {
43     dprintf_ole(stdnimp,"OleRevokeClientDoc:%ld\n",hServerDoc);
44     return OLE_OK;
45 }
46
47 /***********************************************************************
48  *           OleIsDcMeta
49  */
50 BOOL OleIsDcMeta(HDC hdc)
51 {
52         dprintf_ole(stddeb,"OleIsDCMeta(%04x)\n",hdc);
53         return GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0;
54 }