Commit bc3ab4c5 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Implemented OleRun.

parent 82f37be9
......@@ -473,3 +473,20 @@ HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot
return res;
}
/******************************************************************************
* OleRun [OLE32.123]
*/
HRESULT WINAPI OleRun(LPUNKNOWN pUnknown)
{
IRunnableObject *runable;
ICOM_THIS(IRunnableObject,pUnknown);
LRESULT ret;
ret = IRunnableObject_QueryInterface(This,&IID_IRunnableObject,(LPVOID*)&runable);
if (ret)
return 0; /* Appears to return no error. */
ret = IRunnableObject_Run(runable,NULL);
IRunnableObject_Release(runable);
return ret;
}
......@@ -172,15 +172,6 @@ HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
}
/******************************************************************************
* OleRun [OLE32.123]
*/
HRESULT WINAPI OleRun(LPUNKNOWN pUnknown)
{
FIXME("(%p), stub!\n", pUnknown);
return S_OK;
}
/******************************************************************************
* OleCreateLinkFromData [OLE32.95]
*/
......
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