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.
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
,
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*/
47 /******************************************************************************
48 * OleBlockServer [OLESVR.4]
50 OLESTATUS WINAPI
OleBlockServer16(LHSERVER hServer
)
52 FIXME("(%ld): stub\n",hServer
);
56 /******************************************************************************
57 * OleBlockServer [OLESVR32.4]
59 OLESTATUS WINAPI
OleBlockServer(LHSERVER hServer
)
61 FIXME("(%ld): stub\n",hServer
);
65 /******************************************************************************
66 * OleUnblockServer [OLESVR.5]
68 OLESTATUS WINAPI
OleUnblockServer16(LHSERVER hServer
, BOOL16
*block
)
70 FIXME("(%ld): stub\n",hServer
);
71 /* no more blocked messages :) */
76 /******************************************************************************
77 * OleUnblockServer [OLESVR32.5]
79 OLESTATUS WINAPI
OleUnblockServer(LHSERVER hServer
, BOOL
*block
)
81 FIXME("(%ld): stub\n",hServer
);
82 /* no more blocked messages :) */
87 /***********************************************************************
88 * OleRegisterServerDoc [OLESVR.6]
90 OLESTATUS WINAPI
OleRegisterServerDoc16( LHSERVER hServer
, LPCSTR docname
,
91 LPOLESERVERDOC document
,
94 FIXME("(%ld,%s): stub\n",hServer
, docname
);
95 *hRet
=++OLE_current_handle
;
99 /******************************************************************************
100 * OleRevokeServerDoc [OLESVR.7]
102 OLESTATUS WINAPI
OleRevokeServerDoc16(LHSERVERDOC hServerDoc
)
104 FIXME("%ld - stub\n",hServerDoc
);
108 /******************************************************************************
109 * OleRevokeServerDoc [OLESVR32.7]
111 OLESTATUS WINAPI
OleRevokeServerDoc(LHSERVERDOC hServerDoc
)
113 FIXME("(%ld): stub\n",hServerDoc
);
117 /******************************************************************************
118 * OleRevokeServer [OLESVR.3]
120 OLESTATUS WINAPI
OleRevokeServer16(LHSERVER hServer
)
122 FIXME("%ld - stub\n",hServer
);
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
;
135 /******************************************************************************
136 * OleRegisterServerDoc [OLESVR32.6]
138 OLESTATUS WINAPI
OleRegisterServerDoc( LHSERVER hServer
, LPCSTR docname
,
139 LPOLESERVERDOC document
,
142 FIXME("(%ld,%s): stub\n", hServer
, docname
);
143 *hRet
=++OLE_current_handle
;
147 /******************************************************************************
148 * OleRenameServerDoc [OLESVR32.8]
151 OLESTATUS WINAPI
OleRenameServerDoc(LHSERVERDOC hDoc
, LPCSTR newName
)
153 FIXME("(%ld,%s): stub.\n",hDoc
, newName
);