4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
14 #include "debugtools.h"
16 DEFAULT_DEBUG_CHANNEL(ole);
18 static LONG OLE_current_handle;
20 /******************************************************************************
21 * OleRegisterServer16 [OLESVR.2]
23 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
24 LHSERVER *hRet, HINSTANCE16 hServer,
27 FIXME("(%s,...): stub\n",name);
28 *hRet=++OLE_current_handle;
29 /* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
33 /******************************************************************************
34 * OleBlockServer16 [OLESVR.4]
36 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
38 FIXME("(%ld): stub\n",hServer);
42 /******************************************************************************
43 * OleBlockServer [OLESVR32.4]
45 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
47 FIXME("(%ld): stub\n",hServer);
51 /******************************************************************************
52 * OleUnblockServer16 [OLESVR.5]
54 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
56 FIXME("(%ld): stub\n",hServer);
57 /* no more blocked messages :) */
62 /******************************************************************************
63 * OleUnblockServer [OLESVR32.5]
65 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
67 FIXME("(%ld): stub\n",hServer);
68 /* no more blocked messages :) */
73 /***********************************************************************
74 * OleRegisterServerDoc16 [OLESVR.6]
76 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
77 LPOLESERVERDOC document,
80 FIXME("(%ld,%s): stub\n",hServer, docname);
81 *hRet=++OLE_current_handle;
85 /******************************************************************************
86 * OleRevokeServerDoc16 [OLESVR.7]
88 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
90 FIXME("%ld - stub\n",hServerDoc);
94 /******************************************************************************
95 * OleRevokeServerDoc [OLESVR32.7]
97 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
99 FIXME("(%ld): stub\n",hServerDoc);
103 /******************************************************************************
104 * OleRevokeServer [OLESVR.3]
106 OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
108 FIXME("%ld - stub\n",hServer);
112 /******************************************************************************
113 * OleRegisterServer [OLESVR32.2]
115 OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
116 FIXME("(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
117 *hRet=++OLE_current_handle;
121 /******************************************************************************
122 * OleRegisterServerDoc [OLESVR32.6]
124 OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
125 LPOLESERVERDOC document,
128 FIXME("(%ld,%s): stub\n", hServer, docname);
129 *hRet=++OLE_current_handle;
133 /******************************************************************************
134 * OleRenameServerDoc [OLESVR32.8]
137 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
139 FIXME("(%ld,%s): stub.\n",hDoc, newName);