Release 970824
[wine/multimedia.git] / misc / olecli.c
blobbdc2aaea3262b30469726db6d343ae05f68bd411
1 /*
2 * OLECLI library
4 * Copyright 1995 Martin von Loewis
5 */
7 /* At the moment, these are only empty stubs.
8 */
10 #include "windows.h"
11 #include "ole.h"
12 #include "gdi.h"
13 #include "stddebug.h"
14 #include "debug.h"
16 extern LONG OLE_current_handle;
18 /***********************************************************************
19 * OleRegisterClientDoc
21 OLESTATUS WINAPI OleRegisterClientDoc( LPCSTR classname, LPCSTR docname,
22 LONG reserved, LHCLIENTDOC *hRet )
24 dprintf_ole(stdnimp,"OleRegisterClientDoc:%s %s\n",classname,docname);
25 *hRet=++OLE_current_handle;
26 return OLE_OK;
29 /***********************************************************************
30 * OleRenameClientDoc
32 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
34 dprintf_ole(stdnimp,"OleRenameClientDoc: %ld %s\n",hDoc, newName);
35 return OLE_OK;
38 /***********************************************************************
39 * OleRevokeClientDoc
41 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
43 dprintf_ole(stdnimp,"OleRevokeClientDoc:%ld\n",hServerDoc);
44 return OLE_OK;
47 /***********************************************************************
48 * OleIsDcMeta
50 BOOL16 WINAPI OleIsDcMeta(HDC16 hdc)
52 dprintf_ole(stddeb,"OleIsDCMeta(%04x)\n",hdc);
53 return GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0;