wmp: Added IOleObject::Close implementation.

This commit is contained in:
Jacek Caban 2014-02-20 16:01:54 +01:00 committed by Alexandre Julliard
parent 79fc46ddbb
commit 543905f4d2
1 changed files with 9 additions and 2 deletions

View File

@ -347,8 +347,15 @@ static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szCont
static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
{
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)