1997-11-30 18:45:40 +01:00
|
|
|
/*
|
|
|
|
* OLESVR library
|
|
|
|
*
|
|
|
|
* Copyright 1995 Martin von Loewis
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* At the moment, these are only empty stubs.
|
|
|
|
*/
|
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
#include "winbase.h"
|
2000-02-10 20:39:48 +01:00
|
|
|
#include "wingdi.h"
|
|
|
|
#include "wtypes.h"
|
1997-11-30 18:45:40 +01:00
|
|
|
#include "ole.h"
|
1999-07-04 18:02:24 +02:00
|
|
|
#include "debugtools.h"
|
1997-11-30 18:45:40 +01:00
|
|
|
|
2000-02-10 20:39:48 +01:00
|
|
|
DEFAULT_DEBUG_CHANNEL(ole);
|
1999-04-19 16:56:29 +02:00
|
|
|
|
2000-06-20 22:59:27 +02:00
|
|
|
static LONG OLE_current_handle;
|
1997-11-30 18:45:40 +01:00
|
|
|
|
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 )
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%ld): stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleBlockServer [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
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleUnblockServer [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
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("%ld - stub\n",hServerDoc);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-11 16:21:42 +02:00
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleRevokeServerDoc [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
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("%ld - stub\n",hServer);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
1998-10-18 16:39:06 +02:00
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleRegisterServer [OLESVR32.2]
|
1998-10-18 16:39:06 +02:00
|
|
|
*/
|
1999-02-26 12:11:13 +01:00
|
|
|
OLESTATUS WINAPI OleRegisterServer(LPCSTR svrname,LPOLESERVER olesvr,LHSERVER* hRet,HINSTANCE hinst,OLE_SERVER_USE osu) {
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleRegisterServerDoc [OLESVR32.6]
|
1998-10-18 16:39:06 +02:00
|
|
|
*/
|
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)
|
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%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
|
|
|
/******************************************************************************
|
2000-03-28 22:22:59 +02:00
|
|
|
* OleRenameServerDoc [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
|
|
|
{
|
1999-07-04 18:02:24 +02:00
|
|
|
FIXME("(%ld,%s): stub.\n",hDoc, newName);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|