4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
13 LONG OLE_current_handle;
15 /******************************************************************************
16 * OleRegisterServer16 [OLESVR.2]
18 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
19 LHSERVER *hRet, HINSTANCE16 hServer,
22 FIXME(ole,"(%s,...): stub\n",name);
23 *hRet=++OLE_current_handle;
24 /* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
28 /******************************************************************************
29 * OleBlockServer16 [OLESVR.4]
31 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
33 FIXME(ole,"(%ld): stub\n",hServer);
37 /******************************************************************************
38 * OleBlockServer32 [OLESVR32.4]
40 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
42 FIXME(ole,"(%ld): stub\n",hServer);
46 /******************************************************************************
47 * OleUnblockServer16 [OLESVR.5]
49 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
51 FIXME(ole,"(%ld): stub\n",hServer);
52 /* no more blocked messages :) */
57 /******************************************************************************
58 * OleUnblockServer32 [OLESVR32.5]
60 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
62 FIXME(ole,"(%ld): stub\n",hServer);
63 /* no more blocked messages :) */
68 /***********************************************************************
69 * OleRegisterServerDoc16 [OLESVR.6]
71 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
72 LPOLESERVERDOC document,
75 FIXME(ole,"(%ld,%s): stub\n",hServer, docname);
76 *hRet=++OLE_current_handle;
80 /******************************************************************************
81 * OleRevokeServerDoc16 [OLESVR.7]
83 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
85 FIXME(ole,"%ld - stub\n",hServerDoc);
89 /******************************************************************************
90 * OleRevokeServerDoc32 [OLESVR32.7]
92 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
94 FIXME(ole,"(%ld): stub\n",hServerDoc);
98 /******************************************************************************
99 * OleRevokeServer [OLESVR.3]
101 OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
103 FIXME(ole,"%ld - stub\n",hServer);
107 /******************************************************************************
108 * OleRegisterServer32 [OLESVR32.2]
110 OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
111 FIXME(ole,"(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
112 *hRet=++OLE_current_handle;
116 /******************************************************************************
117 * OleRegisterServerDoc32 [OLESVR32.6]
119 OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
120 LPOLESERVERDOC document,
123 FIXME(ole,"(%ld,%s): stub\n", hServer, docname);
124 *hRet=++OLE_current_handle;
128 /******************************************************************************
129 * OleRenameServerDoc32 [OLESVR32.8]
132 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
134 FIXME(ole,"(%ld,%s): stub.\n",hDoc, newName);