Commit 543905f4 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wmp: Added IOleObject::Close implementation.

parent 79fc46dd
...@@ -347,8 +347,15 @@ static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szCont ...@@ -347,8 +347,15 @@ static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szCont
static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption) static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
{ {
WindowsMediaPlayer *This = impl_from_IOleObject(iface); WindowsMediaPlayer *This = impl_from_IOleObject(iface);
FIXME("(%p)->(%08x)\n", This, dwSaveOption);
return E_NOTIMPL; TRACE("(%p)->(%08x)\n", This, dwSaveOption);
if(dwSaveOption)
FIXME("Unsupported option %d\n", dwSaveOption);
if(This->hwnd) /* FIXME: Possibly hide window */
deactivate_window(This);
return S_OK;
} }
static HRESULT WINAPI OleObject_SetMoniker(IOleObject *iface, DWORD dwWhichMoniker, IMoniker *pmk) static HRESULT WINAPI OleObject_SetMoniker(IOleObject *iface, DWORD dwWhichMoniker, IMoniker *pmk)
......
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