Release 990226.
[wine/gsoc-2012-control.git] / ole / olesvr.c
blobf7ca59d113ba003e6adeafcf7da63565634071d6
1 /*
2 * OLESVR library
4 * Copyright 1995 Martin von Loewis
5 */
7 /* At the moment, these are only empty stubs.
8 */
10 #include "windows.h"
11 #include "ole.h"
12 #include "debug.h"
14 LONG OLE_current_handle;
16 /******************************************************************************
17 * OleRegisterServer16 [OLESVR.2]
19 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
20 LHSERVER *hRet, HINSTANCE16 hServer,
21 OLE_SERVER_USE use )
23 FIXME(ole,"(%s,...): stub\n",name);
24 *hRet=++OLE_current_handle;
25 /* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
26 return OLE_OK;
29 /******************************************************************************
30 * OleBlockServer16 [OLESVR.4]
32 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
34 FIXME(ole,"(%ld): stub\n",hServer);
35 return OLE_OK;
38 /******************************************************************************
39 * OleBlockServer32 [OLESVR32.4]
41 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
43 FIXME(ole,"(%ld): stub\n",hServer);
44 return OLE_OK;
47 /******************************************************************************
48 * OleUnblockServer16 [OLESVR.5]
50 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
52 FIXME(ole,"(%ld): stub\n",hServer);
53 /* no more blocked messages :) */
54 *block=FALSE;
55 return OLE_OK;
58 /******************************************************************************
59 * OleUnblockServer32 [OLESVR32.5]
61 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
63 FIXME(ole,"(%ld): stub\n",hServer);
64 /* no more blocked messages :) */
65 *block=FALSE;
66 return OLE_OK;
69 /***********************************************************************
70 * OleRegisterServerDoc16 [OLESVR.6]
72 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
73 LPOLESERVERDOC document,
74 LHSERVERDOC *hRet)
76 FIXME(ole,"(%ld,%s): stub\n",hServer, docname);
77 *hRet=++OLE_current_handle;
78 return OLE_OK;
81 /******************************************************************************
82 * OleRevokeServerDoc16 [OLESVR.7]
84 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
86 FIXME(ole,"%ld - stub\n",hServerDoc);
87 return OLE_OK;
90 /******************************************************************************
91 * OleRevokeServerDoc32 [OLESVR32.7]
93 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
95 FIXME(ole,"(%ld): stub\n",hServerDoc);
96 return OLE_OK;
99 /******************************************************************************
100 * OleRevokeServer [OLESVR.3]
102 OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
104 FIXME(ole,"%ld - stub\n",hServer);
105 return OLE_OK;
108 /******************************************************************************
109 * OleRegisterServer32 [OLESVR32.2]
111 OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
112 FIXME(ole,"(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
113 *hRet=++OLE_current_handle;
114 return OLE_OK;
117 /******************************************************************************
118 * OleRegisterServerDoc32 [OLESVR32.6]
120 OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
121 LPOLESERVERDOC document,
122 LHSERVERDOC *hRet)
124 FIXME(ole,"(%ld,%s): stub\n", hServer, docname);
125 *hRet=++OLE_current_handle;
126 return OLE_OK;
129 /******************************************************************************
130 * OleRenameServerDoc32 [OLESVR32.8]
133 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
135 FIXME(ole,"(%ld,%s): stub.\n",hDoc, newName);
136 return OLE_OK;