Commit Graph

81 Commits

Author SHA1 Message Date
Michael Stefaniuc 6f92e48447 wmp: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-27 09:51:39 +01:00
Jacek Caban 44bc06ba95 wmp/tests: Don't use round to avoid dependency on mingwex.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 09:24:22 +01:00
Francois Gouget c5e4a5345e wmp/tests: Fix the spelling of an unused parameter name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 20:45:46 +01:00
Zebediah Figura 539fa6922b quartz/filtergraph: Store the current position and return it in IMediaSeeking::GetCurrentPosition().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:26 +02:00
Sven Baars 2eb50028e3 wmp: Fix a playlist leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Sven Baars 2a88c53a9f wmp: Fix some memory leaks on error path (Coverity).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Sven Baars 9e8cf8082c wmp: Fix a crash in put_volume when basic_audio is NULL.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 11:29:28 +02:00
Gijs Vermeulen 8cacc16af8 wmp: Fix memory leak in IWMP[Media|Playlist]::put_name.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 20:38:38 +02:00
Gijs Vermeulen 2384e497ba wmp/tests: Add some IWMPPlaylist tests.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 20:09:53 +02:00
Gijs Vermeulen a3fe1f20c6 wmp: Implement IWMPPlaylist::[get|put]_name.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 20:09:45 +02:00
Gijs Vermeulen 8f1d707737 wmp: Fake success in IWMPPlaylist::appendItem.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 20:09:40 +02:00
Gijs Vermeulen 188992a1d2 wmp: Implement IWMPPlaylist::get_count.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 20:09:36 +02:00
Gijs Vermeulen 649e294886 wmp: Improve playlist creation.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 20:09:28 +02:00
Gijs Vermeulen 559842ffc1 wmp: Add IWMPPlaylist stub.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:13:36 +02:00
Gijs Vermeulen eccd8c5424 wmp: Fake success in IWMPMedia::getItemInfo.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:13:31 +02:00
Gijs Vermeulen bf3d719d08 wmp: Return E_POINTER when p is NULL in return_bstr.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:13:31 +02:00
Gijs Vermeulen 3b0e819761 wmp: Implement IWMPMedia::put/get_name.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47029
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:13:31 +02:00
Gijs Vermeulen 53ac8e7b11 wmp/tests: Add more IWMPMedia name handling tests.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-01 19:13:02 +02:00
Alexandre Julliard 37ca889bf3 wmp: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00
Alex Henrie 6878cbf51c wmp/tests: Destroy the window before calling CoUninitialize.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:40 +02:00
Nikolay Sivov 470ea0d51b wmp: Implement GetClassInfo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:02:30 +02:00
Nikolay Sivov 27338bc4b5 wmp: Improve URL property handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 15:55:53 +02:00
Nikolay Sivov cd1c681ee7 wmp: Improve media items handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 18:47:00 +02:00
Nikolay Sivov f9ea009fe9 wmp: Make it possible to query IUnknown from IWMPControls.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Nikolay Sivov 7226d7f559 wmp/tests: Fix a minor leak on error path (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:29 +02:00
Michael Stefaniuc 0f0647e1fc wmp/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 09:28:39 +02:00
Anton Romanov 5d26d0b2c8 wmp: IWMPSettings implement put/get volume.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 17:29:33 +02:00
Anton Romanov 6e2c611870 wmp: Stub IWMPNetwork get download/buffering progress.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-20 17:29:31 +02:00
Anton Romanov bb2d13b44c wmp: Add seeking and duration.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Anton Romanov a072899794 wmp: Add media completion notifications.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-13 16:14:53 +02:00
Anton Romanov 1ec43ebd5c wmp: Add OPEN/PLAY state change notifications.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 18:44:59 +02:00
Anton Romanov f762097f50 wmp: Implement playback via quartz.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 21:32:39 +02:00
Francois Gouget abf6841ae2 wmp/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 10:50:54 +01:00
Anton Romanov bf7b21ec7b wmp: Handle allocation failure in IWMPMedia_get_sourceURL.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 01:00:17 +01:00
Anton Romanov 84068b6d97 wmp: Implement IWMPPlayer_get_URL and IWMPMedia_get_sourceURL.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 18:02:09 +01:00
Anton Romanov 0c58f0ed39 wmp: Add IWMPNetwork stub.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 10:56:19 -06:00
Anton Romanov 9a89db9897 wmp: Add IWMPMedia stub.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 10:56:16 -06:00
Anton Romanov 9713e0e74d wmp: Add semistub IWMPSettings invokeURLs, enableErrorDialogs and autoStart properties implementation.
WPF's MediaPlayer class expects those not to fail.

Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-06 15:46:08 -06:00
Francois Gouget 1df9a924c8 wmp: Make the WMPControls_*() functions static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:27 +01:00
Anton Romanov b5aff99233 wmp: Add IWMPControls stub implementation.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Anton Romanov 9445c6b659 wmp: Implement IConnectionPoint[Container] and add _WMPOCXEvents.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 19:15:00 +01:00
Anton Romanov 354fa7eb79 wmp: Add IWMPPlayer interface.
Signed-off-by: Anton Romanov <theli.ua@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 19:45:45 +01:00
Michael Stefaniuc b3a24b58d4 wmp: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 10:06:01 +01:00
Alistair Leslie-Hughes 853cca9372 wmp/tests: Add tests for IConnectionPointContainer.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 15:30:30 +02:00
Alistair Leslie-Hughes f9e995de42 wmp: Ignore IMarshal/IRunnableObject interfaces in IOleObject_QueryInterface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-31 10:15:00 +02:00
Austin English 4966774049 wmp: Add some ordinals.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-02 14:45:43 +02:00
Jacek Caban a8d956b5b6 wmp: Added IOleObject::GetExtent and SetExtent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-31 21:33:38 +02:00
Francois Gouget 97fa31eef2 wmp: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:23:30 +01:00
Michael Stefaniuc 365e2e9dbc wmp/tests: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:28 +09:00
Francois Gouget d46e6fe6b6 wmp: Mark internal symbols with hidden visibility. 2015-04-03 00:33:30 +09:00