diff --git a/dlls/ole32/ole2.spec b/dlls/ole32/ole2.spec index e4c7ae48e27..5d97ec295d4 100644 --- a/dlls/ole32/ole2.spec +++ b/dlls/ole32/ole2.spec @@ -38,7 +38,7 @@ 38 stub CREATEOLEADVISEHOLDER 39 stub CREATEDATAADVISEHOLDER 40 stub OLECREATEMENUDESCRIPTOR -41 stub OLESETMENUDESCRIPTOR +41 pascal OleSetMenuDescriptor(word word word ptr ptr) OleSetMenuDescriptor16 42 stub OLEDESTROYMENUDESCRIPTOR 43 stub OPENORCREATESTREAM 44 stub CREATEANTIMONIKER diff --git a/dlls/ole32/ole2_16.c b/dlls/ole32/ole2_16.c index a61fb6037a6..ad341d3c484 100644 --- a/dlls/ole32/ole2_16.c +++ b/dlls/ole32/ole2_16.c @@ -152,3 +152,17 @@ HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName,LPMONIKER* ppmk) FIXME("(%s,%p),stub!\n",lpszPathName,ppmk); return E_NOTIMPL; } + +/****************************************************************************** + * OleSetMenuDescriptor (OLE2.41) + */ +HRESULT WINAPI OleSetMenuDescriptor16( + HOLEMENU hOleMenu, /* FIXME: HOLEMENU16 likely */ + HWND16 hwndFrame, + HWND16 hwndActiveObject, + LPOLEINPLACEFRAME lpFrame, + LPOLEINPLACEACTIVEOBJECT lpActiveObject) +{ + FIXME("(%lx, %x, %x, %p, %p), stub!\n", hOleMenu, hwndFrame, hwndActiveObject, lpFrame, lpActiveObject); + return E_NOTIMPL; +}