4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
15 extern LONG OLE_current_handle;
17 /***********************************************************************
18 * OleRegisterClientDoc
20 OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
21 LONG reserved, LHCLIENTDOC *hRet )
23 fprintf(stdnimp,"OleRegisterClientDoc:%s %s\n",classname,docname);
24 *hRet=++OLE_current_handle;
28 /***********************************************************************
29 * OleRegisterClientDoc
31 OLESTATUS WINAPI OleRegisterClientDoc32(LPCSTR classname, LPCSTR docname,
32 LONG reserved, LHCLIENTDOC *hRet )
34 fprintf(stdnimp,"OleRegisterClientDoc:%s %s\n",classname,docname);
35 *hRet=++OLE_current_handle;
39 /***********************************************************************
42 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
44 fprintf(stdnimp,"OleRenameClientDoc: %ld %s\n",hDoc, newName);
48 /***********************************************************************
51 OLESTATUS WINAPI OleRenameClientDoc32(LHCLIENTDOC hDoc, LPCSTR newName)
53 fprintf(stdnimp,"OleRenameClientDoc: %ld %s\n",hDoc, newName);
57 /***********************************************************************
60 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
62 fprintf(stdnimp,"OleRevokeClientDoc:%ld\n",hServerDoc);
66 /***********************************************************************
69 OLESTATUS WINAPI OleRevokeClientDoc32(LHCLIENTDOC hServerDoc)
71 fprintf(stdnimp,"OleRevokeClientDoc:%ld\n",hServerDoc);
75 /***********************************************************************
76 * OleCreateLinkFromClip32
78 OLESTATUS WINAPI OleCreateLinkFromClip32(
79 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
80 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
82 fprintf(stdnimp,"OleCreateLinkFromClip(%s,%p,%08lx,%s,%p,%d,%ld),stub!\n",
83 name,olecli,hclientdoc,xname,lpoleob,render,clipformat
88 /***********************************************************************
89 * OleQueryLinkFromClip32
91 OLESTATUS WINAPI OleQueryLinkFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
92 fprintf(stdnimp,"OleQueryLinkFromClip(%s,%d,%ld),stub!\n",
93 name,render,clipformat
97 /***********************************************************************
98 * OleQueryCreateFromClip32
100 OLESTATUS WINAPI OleQueryCreateFromClip32(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
101 fprintf(stdnimp,"OleQueryCreateFromClip(%s,%d,%ld),stub!\n",
102 name,render,clipformat
108 /***********************************************************************
111 BOOL16 WINAPI OleIsDcMeta(HDC16 hdc)
113 dprintf_info(ole,"OleIsDCMeta(%04x)\n",hdc);
114 return GDI_GetObjPtr( hdc, METAFILE_DC_MAGIC ) != 0;
117 /***********************************************************************
120 OLESTATUS WINAPI OleSetHostNames32(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
121 fprintf(stdnimp,"OleSetHostNames(%p,%s,%s),stub\n",oleob,name1,name2);
125 /***********************************************************************
128 OLESTATUS WINAPI OleQueryType32(LPOLEOBJECT oleob,LONG*xlong) {
129 fprintf(stdnimp,"OleQueryType(%p,%p),stub!\n",oleob,xlong);
132 fprintf(stddeb,"Calling OLEOBJECT.QueryType (%p) (%p,%p)\n",
133 oleob->lpvtbl->QueryType,oleob,xlong
135 return oleob->lpvtbl->QueryType(oleob,xlong);
138 /***********************************************************************
141 OLESTATUS WINAPI OleCreateFromClip32(
142 LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
143 LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
145 fprintf(stdnimp,"OleCreateLinkFromClip(%s,%p,%08lx,%s,%p,%d,%ld),stub!\n",
146 name,olecli,hclientdoc,xname,lpoleob,render,clipformat
148 /* clipb type, object kreieren entsprechend etc. */