4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
14 LONG OLE_current_handle;
16 /***********************************************************************
19 OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
20 LHSERVER *hRet, HINSTANCE16 hServer,
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*/
29 /***********************************************************************
32 OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
34 fprintf(stdnimp,"OleBlockServer:%ld\n",hServer);
38 /***********************************************************************
41 OLESTATUS WINAPI OleBlockServer32(LHSERVER hServer)
43 fprintf(stdnimp,"OleBlockServer:%ld\n",hServer);
47 /***********************************************************************
50 OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
52 fprintf(stdnimp,"OleUnblockServer:%ld\n",hServer);
53 /* no more blocked messages :) */
58 /***********************************************************************
61 OLESTATUS WINAPI OleUnblockServer32(LHSERVER hServer, BOOL32 *block)
63 fprintf(stdnimp,"OleUnblockServer:%ld\n",hServer);
64 /* no more blocked messages :) */
69 /***********************************************************************
70 * OleRegisterServerDoc
72 OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
73 LPOLESERVERDOC document,
76 FIXME(ole,"%ld,%s - stub\n",
78 *hRet=++OLE_current_handle;
82 /***********************************************************************
85 OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
87 FIXME(ole,"%ld - stub\n",hServerDoc);
91 /***********************************************************************
94 OLESTATUS WINAPI OleRevokeServerDoc32(LHSERVERDOC hServerDoc)
96 fprintf(stdnimp,"OleRevokeServerDoc:%ld\n",hServerDoc);
100 /***********************************************************************
103 OLESTATUS WINAPI OleRevokeServer(LHSERVER hServer)
105 FIXME(ole,"%ld - stub\n",hServer);
109 OLESTATUS WINAPI OleRegisterServer32(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE32 hinst,OLE_SERVER_USE osu) {
110 fprintf(stderr,"OleRegisterServer(%s,%p,%p,%08x,%d),stub!\n",
111 svrname,olesvr,hRet,hinst,osu
113 *hRet=++OLE_current_handle;
117 OLESTATUS WINAPI OleRegisterServerDoc32( LHSERVER hServer, LPCSTR docname,
118 LPOLESERVERDOC document,
121 fprintf(stdnimp,"OleRegisterServerDoc:%ld,%s\n", hServer, docname);
122 *hRet=++OLE_current_handle;
126 /***********************************************************************
127 * OleRenameServerDoc32
130 OLESTATUS WINAPI OleRenameServerDoc32(LHSERVERDOC hDoc, LPCSTR newName)
132 fprintf(stderr,"OleRenameServerDoc: %ld %s; stub.\n",hDoc, newName);