[PATCH 5/7] wmp: Add seeking and duration

Zebediah Figura z.figura12 at gmail.com
Tue Mar 13 10:40:38 CDT 2018


On 12/03/18 23:34, Anton Romanov wrote:
> Signed-off-by: Anton Romanov <theli.ua at gmail.com>
> ---
>  dlls/wmp/player.c      | 61 +++++++++++++++++++++++++++++++++++++++++++-------
>  dlls/wmp/tests/media.c | 27 ++++++++++++++++++++++
>  dlls/wmp/wmp_private.h |  3 +++
>  3 files changed, 83 insertions(+), 8 deletions(-)
> 
> diff --git a/dlls/wmp/player.c b/dlls/wmp/player.c
> index 42ee06315a..d3c67a3820 100644
> --- a/dlls/wmp/player.c
> +++ b/dlls/wmp/player.c
> @@ -1376,8 +1376,22 @@ static HRESULT WINAPI WMPControls_Invoke(IWMPControls *iface, DISPID dispIdMembe
>  static HRESULT WINAPI WMPControls_get_isAvailable(IWMPControls *iface, BSTR bstrItem, VARIANT_BOOL *pIsAvailable)
>  {
>      WindowsMediaPlayer *This = impl_from_IWMPControls(iface);
> -    FIXME("(%p)->(%s)\n", This, debugstr_w(bstrItem));
> -    return E_NOTIMPL;
> +    static const WCHAR currentPosition[] = {'c','u','r','r','e','n','t','P','o','s','i','t','i','o','n',0};
> +    TRACE("(%p)->(%s %p)\n", This, debugstr_w(bstrItem), pIsAvailable);

debugstr_variant(pIsAvailable);



More information about the wine-devel mailing list