Commit cbb95496 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Added prototypes for OleQueryLinkFromClip, OleQueryCreateFromClip,

OleCreateLinkFromClip, OleCreateFromClip, OleQueryType, OleRevertClientDoc, OleEnumObjects.
parent 95ea7469
......@@ -8,12 +8,12 @@ type win16
6 stub OLECLONE
7 stub OLECOPYFROMLINK
8 stub OLEEQUAL
9 stub OLEQUERYLINKFROMCLIP
10 stub OLEQUERYCREATEFROMCLIP
11 stub OLECREATELINKFROMCLIP
12 stub OLECREATEFROMCLIP
9 pascal16 OleQueryLinkFromClip(segstr word word) OleQueryLinkFromClip16
10 pascal16 OleQueryCreateFromClip(segstr word word) OleQueryCreateFromClip16
11 pascal16 OleCreateLinkFromClip (segstr segptr long segstr long word word) OleCreateLinkFromClip16
12 pascal16 OleCreateFromClip(segstr segptr long segstr long word word) OleCreateFromClip16
13 stub OLECOPYTOCLIPBOARD
14 stub OLEQUERYTYPE
14 pascal16 OleQueryType(segptr segptr) OleQueryType16
15 stub OLESETHOSTNAMES
16 stub OLESETTARGETDEVICE
17 stub OLESETBOUNDS
......@@ -43,10 +43,10 @@ type win16
41 pascal OleRegisterClientDoc(ptr ptr long ptr) OleRegisterClientDoc16
42 pascal OleRevokeClientDoc(long) OleRevokeClientDoc16
43 pascal OleRenameClientDoc(long ptr) OleRenameClientDoc16
44 stub OLEREVERTCLIENTDOC
44 pascal16 OleRevertClientDoc(long) OleRevertClientDoc16
45 stub OLESAVEDCLIENTDOC
46 stub OLERENAME
47 stub OLEENUMOBJECTS
47 pascal16 OleEnumObjects(long segptr) OleEnumObjects16
48 stub OLEQUERYNAME
49 stub OLESETCOLORSCHEME
50 stub OLEREQUESTDATA
......
......@@ -273,6 +273,17 @@ OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC,LPCSTR);
OLESTATUS WINAPI OleRevokeServerDoc16(LHSERVERDOC);
OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC);
OLESTATUS WINAPI OleRevokeServer16(LHSERVER);
OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc);
OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data);
OLESTATUS WINAPI OleCreateLinkFromClip16(
LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat);
OLESTATUS WINAPI OleQueryLinkFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat);
OLESTATUS WINAPI OleQueryCreateFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat);
OLESTATUS WINAPI OleQueryType16(LPOLEOBJECT oleob, SEGPTR xlong);
OLESTATUS WINAPI OleCreateFromClip16(
LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat);
/* com functions */
void WINAPI CoFreeUnusedLibraries(void);
......
......@@ -75,6 +75,39 @@ OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
}
/******************************************************************************
* OleRevertClientDoc16 [OLECLI.44]
*/
OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
{
FIXME(ole, "(%ld): stub\n", hServerDoc);
return OLE_OK;
}
/******************************************************************************
* OleEnumObjects16 [OLECLI.47]
*/
OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
{
FIXME(ole, "(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
LOWORD(data));
return OLE_OK;
}
/******************************************************************************
* OleCreateLinkFromClip16 [OLECLI.11]
*/
OLESTATUS WINAPI OleCreateLinkFromClip16(
LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat
) {
FIXME(ole, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
(char *)PTR_SEG_TO_LIN(name), HIWORD(olecli), LOWORD(olecli),
hclientdoc, (char *)PTR_SEG_TO_LIN(xname), HIWORD(lpoleob),
LOWORD(lpoleob), render, clipformat);
return OLE_OK;
}
/******************************************************************************
* OleCreateLinkFromClip32 [OLECLI32.11]
*/
OLESTATUS WINAPI OleCreateLinkFromClip(
......@@ -87,12 +120,31 @@ OLESTATUS WINAPI OleCreateLinkFromClip(
}
/******************************************************************************
* OleQueryLinkFromClip16 [OLECLI.9]
*/
OLESTATUS WINAPI OleQueryLinkFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat) {
FIXME(ole, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name)),
render, clipformat);
return OLE_OK;
}
/******************************************************************************
* OleQueryLinkFromClip32 [OLECLI32.9]
*/
OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
FIXME(ole,"(%s,%d,%ld): stub!\n",name,render,clipformat);
return OLE_OK;
}
/******************************************************************************
* OleQueryCreateFromClip16 [OLECLI.10]
*/
OLESTATUS WINAPI OleQueryCreateFromClip16(LPCSTR name, UINT16 render, UINT16 clipformat) {
FIXME(ole, "(%s, %d, %d): stub!\n", (char*)(PTR_SEG_TO_LIN(name)),
render, clipformat);
return OLE_OK;
}
/******************************************************************************
* OleQueryCreateFromClip32 [OLECLI32.10]
*/
......@@ -101,7 +153,6 @@ OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIP
return OLE_OK;
}
/******************************************************************************
* OleIsDcMeta16 [OLECLI.60]
*/
......@@ -139,6 +190,15 @@ OLESTATUS WINAPI OleSetHostNames(LPOLEOBJECT oleob,LPCSTR name1,LPCSTR name2) {
}
/******************************************************************************
* OleQueryType16 [OLECLI.14]
*/
OLESTATUS WINAPI OleQueryType16(LPOLEOBJECT oleob, SEGPTR xlong) {
FIXME(ole, "(%p, %p): stub!\n",
PTR_SEG_TO_LIN(oleob), PTR_SEG_TO_LIN(xlong));
return OLE_OK;
}
/******************************************************************************
* OleQueryType32 [OLECLI32.14]
*/
OLESTATUS WINAPI OleQueryType(LPOLEOBJECT oleob,LONG*xlong) {
......@@ -151,6 +211,20 @@ OLESTATUS WINAPI OleQueryType(LPOLEOBJECT oleob,LONG*xlong) {
}
/******************************************************************************
* OleCreateFromClip16 [OLECLI.12]
*/
OLESTATUS WINAPI OleCreateFromClip16(
LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat
) {
FIXME(ole, "(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
(char *)PTR_SEG_TO_LIN(name), HIWORD(olecli), LOWORD(olecli),
hclientdoc, (char *)PTR_SEG_TO_LIN(xname), HIWORD(lpoleob),
LOWORD(lpoleob), render, clipformat);
return OLE_OK;
}
/******************************************************************************
* OleCreateFromClip32 [OLECLI32.12]
*/
OLESTATUS WINAPI OleCreateFromClip(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment