Moved mode setting out of .spec file into Makefile.
[wine/gsoc_dplay.git] / dlls / olesvr / olesvr_main.c
blobb81e353d985810646de6c599842672cba16f29a0
1 /*
2 * OLESVR library
4 * Copyright 1995 Martin von Loewis
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 /* At the moment, these are only empty stubs.
24 #include "config.h"
26 #include "ole.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(ole);
32 static LONG OLE_current_handle;
34 /******************************************************************************
35 * OleRegisterServer [OLESVR.2]
37 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
38 LHSERVER *hRet, HINSTANCE16 hServer,
39 OLE_SERVER_USE use )
41 FIXME("(%s,...): stub\n",name);
42 *hRet=++OLE_current_handle;
43 /* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
44 return OLE_OK;
47 /******************************************************************************
48 * OleBlockServer [OLESVR.4]
50 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
52 FIXME("(%ld): stub\n",hServer);
53 return OLE_OK;
56 /******************************************************************************
57 * OleBlockServer [OLESVR32.4]
59 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
61 FIXME("(%ld): stub\n",hServer);
62 return OLE_OK;
65 /******************************************************************************
66 * OleUnblockServer [OLESVR.5]
68 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
70 FIXME("(%ld): stub\n",hServer);
71 /* no more blocked messages :) */
72 *block=FALSE;
73 return OLE_OK;
76 /******************************************************************************
77 * OleUnblockServer [OLESVR32.5]
79 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
81 FIXME("(%ld): stub\n",hServer);
82 /* no more blocked messages :) */
83 *block=FALSE;
84 return OLE_OK;
87 /***********************************************************************
88 * OleRegisterServerDoc [OLESVR.6]
90 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
91 LPOLESERVERDOC document,
92 LHSERVERDOC *hRet)
94 FIXME("(%ld,%s): stub\n",hServer, docname);
95 *hRet=++OLE_current_handle;
96 return OLE_OK;
99 /******************************************************************************
100 * OleRevokeServerDoc [OLESVR.7]
102 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
104 FIXME("%ld - stub\n",hServerDoc);
105 return OLE_OK;
108 /******************************************************************************
109 * OleRevokeServerDoc [OLESVR32.7]
111 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
113 FIXME("(%ld): stub\n",hServerDoc);
114 return OLE_OK;
117 /******************************************************************************
118 * OleRevokeServer [OLESVR.3]
120 OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
122 FIXME("%ld - stub\n",hServer);
123 return OLE_OK;
126 /******************************************************************************
127 * OleRegisterServer [OLESVR32.2]
129 OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
130 FIXME("(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
131 *hRet=++OLE_current_handle;
132 return OLE_OK;
135 /******************************************************************************
136 * OleRegisterServerDoc [OLESVR32.6]
138 OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
139 LPOLESERVERDOC document,
140 LHSERVERDOC *hRet)
142 FIXME("(%ld,%s): stub\n", hServer, docname);
143 *hRet=++OLE_current_handle;
144 return OLE_OK;
147 /******************************************************************************
148 * OleRenameServerDoc [OLESVR32.8]
151 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
153 FIXME("(%ld,%s): stub.\n",hDoc, newName);
154 return OLE_OK;