1997-11-30 18:45:40 +01:00
|
|
|
/*
|
|
|
|
* OLECLI library
|
|
|
|
*
|
|
|
|
* Copyright 1995 Martin von Loewis
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* At the moment, these are only empty stubs.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windows.h"
|
|
|
|
#include "ole.h"
|
|
|
|
#include "gdi.h"
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
extern LONG OLE_current_handle;
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRegisterClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
|
|
|
|
LONG reserved, LHCLIENTDOC *hRet )
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRegisterClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRegisterClientDoc32(LPCSTR classname, LPCSTR docname,
|
|
|
|
LONG reserved, LHCLIENTDOC *hRet )
|
|
|
|
{
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%s,...): stub\n",classname,docname);
|
1997-11-30 18:45:40 +01:00
|
|
|
*hRet=++OLE_current_handle;
|
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRenameClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
|
|
|
|
{
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRenameClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRenameClientDoc32(LHCLIENTDOC hDoc, LPCSTR newName)
|
|
|
|
{
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRevokeClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
|
|
|
|
{
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleRevokeClientDoc
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleRevokeClientDoc32(LHCLIENTDOC hServerDoc)
|
|
|
|
{
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleCreateLinkFromClip32
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleCreateLinkFromClip32(
|
|
|
|
LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
|
|
|
|
LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
|
|
|
|
) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
|
|
|
|
name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleQueryLinkFromClip32
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleQueryLinkFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
/***********************************************************************
|
|
|
|
* OleQueryCreateFromClip32
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleQueryCreateFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************
|
1998-03-15 21:29:56 +01:00
|
|
|
* OleIsDcMeta16
|
1997-11-30 18:45:40 +01:00
|
|
|
*/
|
1998-03-15 21:29:56 +01:00
|
|
|
BOOL16 WINAPI OleIsDcMeta16(HDC16 hdc)
|
1997-11-30 18:45:40 +01:00
|
|
|
{
|
1998-03-15 21:29:56 +01:00
|
|
|
TRACE(ole,"(%04x)\n",hdc);
|
1997-11-30 18:45:40 +01:00
|
|
|
return GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0;
|
|
|
|
}
|
|
|
|
|
1998-03-15 21:29:56 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleIsDcMeta32
|
|
|
|
*/
|
|
|
|
BOOL32 WINAPI OleIsDcMeta32(HDC32 hdc)
|
|
|
|
{
|
|
|
|
TRACE(ole,"(%04x)\n",hdc);
|
|
|
|
return GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
1997-11-30 18:45:40 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* OleSetHostNames
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleSetHostNames32(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%p,%s,%s): stub\n",oleob,name1,name2);
|
1997-11-30 18:45:40 +01:00
|
|
|
return OLE_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleQueryType32
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleQueryType32(LPOLEOBJECT oleob,LONG*xlong) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%p,%p): stub!\n",oleob,xlong);
|
1997-11-30 18:45:40 +01:00
|
|
|
if (!oleob)
|
|
|
|
return 0x10;
|
1998-03-29 21:44:57 +02:00
|
|
|
TRACE(ole,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
|
|
|
|
oleob->lpvtbl->QueryType,oleob,xlong);
|
1997-11-30 18:45:40 +01:00
|
|
|
return oleob->lpvtbl->QueryType(oleob,xlong);
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* OleCreateFromClip
|
|
|
|
*/
|
|
|
|
OLESTATUS WINAPI OleCreateFromClip32(
|
|
|
|
LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
|
|
|
|
LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
|
|
|
|
) {
|
1998-03-29 21:44:57 +02:00
|
|
|
FIXME(ole,"(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
|
|
|
|
name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
|
1997-11-30 18:45:40 +01:00
|
|
|
/* clipb type, object kreieren entsprechend etc. */
|
|
|
|
return OLE_OK;
|
|
|
|
}
|