1997-11-30 18:45:40 +01:00
|
|
|
/*
|
|
|
|
* OLESVR library
|
|
|
|
*
|
|
|
|
* Copyright 1995 Martin von Loewis
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* At the moment, these are only empty stubs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windows.h"
|
|
|
|
#include "ole.h"
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
LONG OLE_current_handle;
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRegisterServer16 [OLESVR.2]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRegisterServer16( LPCSTR name, LPOLESERVER serverStruct,
|
|
|
|
LHSERVER *hRet, HINSTANCE16 hServer,
|
|
|
|
OLE_SERVER_USE use )
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,...): stub\n",name);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
/* return OLE_ERROR_MEMORY, OLE_ERROR_PROTECT_ONLY if you want it fail*/
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleBlockServer16 [OLESVR.4]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleBlockServer16(LHSERVER hServer)
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld): stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleBlockServer32 [OLESVR32.4]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld): stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleUnblockServer16 [OLESVR.5]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleUnblockServer16(LHSERVER hServer, BOOL16 *block)
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld): stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
/* no more blocked messages :) */
|
|
|
|
*block=FALSE;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleUnblockServer32 [OLESVR32.5]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld): stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
/* no more blocked messages :) */
|
|
|
|
*block=FALSE;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
1998-10-11 16:21:42 +02:00
|
|
|
* OleRegisterServerDoc16 [OLESVR.6]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRegisterServerDoc16( LHSERVER hServer, LPCSTR docname,
|
|
|
|
LPOLESERVERDOC document,
|
|
|
|
LHSERVERDOC *hRet)
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld,%s): stub\n",hServer, docname);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRevokeServerDoc16 [OLESVR.7]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC hServerDoc)
|
|
|
|
{
|
1998-03-15 21:29:56 +01:00
|
|
|
FIXME(ole,"%ld - stub\n",hServerDoc);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRevokeServerDoc32 [OLESVR32.7]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld): stub\n",hServerDoc);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRevokeServer [OLESVR.3]
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRevokeServer16(LHSERVER hServer)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-15 21:29:56 +01:00
|
|
|
FIXME(ole,"%ld - stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-18 16:39:06 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRegisterServer32 [OLESVR32.2]
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%p,%p,%08x,%d): stub!\n",svrname,olesvr,hRet,hinst,osu);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-18 16:39:06 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRegisterServerDoc32 [OLESVR32.6]
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
|
1997-11-30 18:45:40 +01:00
|
|
|
LPOLESERVERDOC document,
|
|
|
|
LHSERVERDOC *hRet)
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld,%s): stub\n", hServer, docname);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* OleRenameServerDoc32 [OLESVR32.8]
|
1997-11-30 18:45:40 +01:00
|
|
|
*
|
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%ld,%s): stub.\n",hDoc, newName);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|