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