Converted to the new debug interface, using script written by Patrik
[wine/multimedia.git] / ole / olesvr.c
blobdcce95b3b5483677c6fc34142d6f5cf31a0e4bf6
1 /*
2 * OLESVR library
4 * Copyright 1995 Martin von Loewis
5 */
7 /* At the moment, these are only empty stubs.
8 */
10 #include "ole.h"
11 #include "debugtools.h"
13 DEFAULT_DEBUG_CHANNEL(ole)
15 LONG OLE_current_handle;
17 /******************************************************************************
18 * OleRegisterServer16 [OLESVR.2]
20 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
21 LHSERVER *hRet, HINSTANCE16 hServer,
22 OLE_SERVER_USE use )
24 FIXME("(%s,...): stub\n",name);
25 *hRet=++OLE_current_handle;
26 /* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
27 return OLE_OK;
30 /******************************************************************************
31 * OleBlockServer16 [OLESVR.4]
33 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
35 FIXME("(%ld): stub\n",hServer);
36 return OLE_OK;
39 /******************************************************************************
40 * OleBlockServer32 [OLESVR32.4]
42 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
44 FIXME("(%ld): stub\n",hServer);
45 return OLE_OK;
48 /******************************************************************************
49 * OleUnblockServer16 [OLESVR.5]
51 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
53 FIXME("(%ld): stub\n",hServer);
54 /* no more blocked messages :) */
55 *block=FALSE;
56 return OLE_OK;
59 /******************************************************************************
60 * OleUnblockServer32 [OLESVR32.5]
62 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
64 FIXME("(%ld): stub\n",hServer);
65 /* no more blocked messages :) */
66 *block=FALSE;
67 return OLE_OK;
70 /***********************************************************************
71 * OleRegisterServerDoc16 [OLESVR.6]
73 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
74 LPOLESERVERDOC document,
75 LHSERVERDOC *hRet)
77 FIXME("(%ld,%s): stub\n",hServer, docname);
78 *hRet=++OLE_current_handle;
79 return OLE_OK;
82 /******************************************************************************
83 * OleRevokeServerDoc16 [OLESVR.7]
85 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
87 FIXME("%ld - stub\n",hServerDoc);
88 return OLE_OK;
91 /******************************************************************************
92 * OleRevokeServerDoc32 [OLESVR32.7]
94 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
96 FIXME("(%ld): stub\n",hServerDoc);
97 return OLE_OK;
100 /******************************************************************************
101 * OleRevokeServer [OLESVR.3]
103 OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
105 FIXME("%ld - stub\n",hServer);
106 return OLE_OK;
109 /******************************************************************************
110 * OleRegisterServer32 [OLESVR32.2]
112 OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
113 FIXME("(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
114 *hRet=++OLE_current_handle;
115 return OLE_OK;
118 /******************************************************************************
119 * OleRegisterServerDoc32 [OLESVR32.6]
121 OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
122 LPOLESERVERDOC document,
123 LHSERVERDOC *hRet)
125 FIXME("(%ld,%s): stub\n", hServer, docname);
126 *hRet=++OLE_current_handle;
127 return OLE_OK;
130 /******************************************************************************
131 * OleRenameServerDoc32 [OLESVR32.8]
134 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
136 FIXME("(%ld,%s): stub.\n",hDoc, newName);
137 return OLE_OK;