Commit Graph

145 Commits

Author SHA1 Message Date
Jacek Caban f09c0e7c0d winmm: Build with msvcrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 18:37:41 +02:00
Michael Stefaniuc 24f4781216 winmm: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 16:37:19 +02:00
Bruno Jesus 0aaade2cec winmm: Dispatch MCI_BREAK to the driver.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:43:13 +01:00
Bruno Jesus 4c46b3d091 winmm: Cope with empty string in mciSendString.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 15:46:14 +01:00
Andrew Eikum d7cc002566 winmm: Restrict some MCI actions to the creating thread.
This reverts commit 46d5973961 and fixes
bug 38241 another way.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 15:25:46 +09:00
Alexandre Julliard 6c3aac3e4a winmm: Print full flag values in traces. 2015-03-30 19:49:15 +09:00
Michael Stefaniuc 36ab1878fa winmm: Remove an unused variable (PVS-Studio). 2015-01-13 19:53:58 +01:00
Bruno Jesus c3a362a4c4 winmm: Fix a memory leak in mciSendStringW (valgrind). 2014-06-11 16:09:52 +02:00
Jörg Höhle fe7a057a32 winmm: Don't log the uninitialised MCI output buffer in case of error. 2013-03-05 09:37:46 +01:00
Jörg Höhle 1fc362ce55 winmm: Turn some MCI parser ERR into FIXME. 2012-10-30 14:37:55 +01:00
Jörg Höhle 8ff7436d21 winmm: The "open new ..." MCI string command sets an empty OPEN_ELEMENT. 2012-09-27 13:08:28 +02:00
Jörg Höhle 644f539358 winmm: Parse MCI colon notation as in T:MM:SS:F. 2012-01-27 18:05:47 +01:00
Michael Stefaniuc 5439aede62 include: Remove 'l' modifier from numeric constants in mmsystem.h. 2011-10-25 16:57:25 +02:00
André Hentschel e70de44edf winmm: Remove dead initialization (clang). 2011-07-06 11:20:10 +02:00
Jörg Höhle 40dfd72bdb winmm: Process MCI_DGV_INFO which is larger than MCI_INFO. 2011-05-24 18:28:36 +02:00
Jörg Höhle d1a034627c winmm: MCI does not support the 0xhexadecimal notation. 2011-03-14 12:39:28 +01:00
Jörg Höhle fd8576bfdb winmm: Let WideCharToMultiByte search for NUL string terminator (Valgrind). 2011-02-21 12:46:36 +01:00
Gerald Pfeifer 1dae68e71b winmm: Simplify MCI_DumpCommandTable a bit. 2011-02-18 14:54:51 +01:00
Jörg Höhle bad21ebe76 winmm: Use MCI_HWND and MCI_HDC in resource files. 2010-11-12 15:43:08 +01:00
Jörg Höhle a9f9b34e17 winmm: MCI_SYSINFO doesn't change the output buffer in case of error. 2010-11-02 12:04:37 +01:00
Jörg Höhle 88a8d211fb winmm: mciSendString always returns a response string (albeit empty). 2010-11-02 12:03:03 +01:00
Alexandre Julliard d1e9a09388 winmm: Add support for the MCI_INTEGER64 type.
Based on a patch by Octavian Voicu.
2010-09-29 15:22:00 +02:00
Alexandre Julliard 41a5b37b7a winmm: Use proper structure where possible to fix command string parsing on 64-bit. 2010-09-29 14:47:55 +02:00
Jörg Höhle b4cc03f3e3 winmm: Auto-open MCI core commands only. 2010-09-16 11:16:23 -05:00
Jörg Höhle 8fb1e3eba2 winmm: Support MCI_SOUND. 2010-09-16 11:16:23 -05:00
Jörg Höhle 294d0c9501 winmm: Implement MCIERR_DUPLICATE_ALIAS and MCIERR_DEVICE_OPEN. 2010-09-03 16:02:31 +02:00
Jörg Höhle 6b271b6d3c winmm: GetDeviceID only considers a single name per entry. 2010-09-03 16:02:31 +02:00
Jörg Höhle 565c56c61f winmm: Correctly parse the MCI Sysinfo command. 2010-09-03 16:02:31 +02:00
Jörg Höhle ec7aef8378 winmm: Always unload the MCI driver when Open fails. 2010-09-02 18:05:23 +02:00
Jörg Höhle e1fe9e4fed winmm: Close MCI device after immediate auto-open commands. 2010-09-02 18:05:23 +02:00
Jörg Höhle ef372e259a winmm: MCI open always creates an alias for subsequent commands. 2010-09-02 18:05:23 +02:00
Francois Gouget f8c55fdcd1 winmm: Make MCI_{MessageToString,strdupAtoW}() static and remove MCI_strdupWtoA(). 2010-08-31 14:23:47 +02:00
Jörg Höhle 594a70f550 winmm: Have MCI drivers handle notification for MCI_OPEN.
All notifications are handled locally by the drivers.
2010-05-20 16:25:44 +02:00
Jörg Höhle c662c35edc winmm: MCI_SYSINFO dwRetSize counts characters, not bytes.
MSDN says the contrary.
2010-04-16 12:39:26 +02:00
Jörg Höhle 0bc218b9db winmm: Prepare transition of MCI parser to 64bit. 2010-04-14 18:21:07 +02:00
Jörg Höhle db0df4c067 winmm: Improve MCI A/W mapping. 2010-04-12 15:38:15 +02:00
Jörg Höhle b84576fcef winmm: MCI system commands are not eligible for auto-open. 2010-04-12 15:37:44 +02:00
Jörg Höhle 4ed308f452 winmm: Improve MCI's Sysinfo string command. 2010-04-01 18:12:41 +02:00
Jörg Höhle f70b2f5493 winmm: Improve MCI's Sysinfo command. 2010-04-01 18:12:41 +02:00
Jörg Höhle e89468734d winmm: Support MCI "close all" command.
This is not yet generalized to "pause all" or "stop all".
2010-04-01 18:12:41 +02:00
Eric Pouech 5cab72bc95 winmm: For MCI parsing, use 64bit compatible variables. 2010-01-25 12:52:22 +01:00
Henri Verbeet 4adefb689a winmm: Use wine_dbg_sprintf() in a few debug utility functions. 2009-11-30 12:49:30 +01:00
Jörg Höhle e36db94c7c winmm: Don't stop parsing after MCI's alias keyword. 2009-11-23 13:09:53 +01:00
Jörg Höhle 65011132e5 winmm: MCI_ALL_DEVICE_ID(MCIDEVICEID) is not a 16bit entity in MCI32. 2009-11-16 15:17:30 +01:00
Alexandre Julliard 9a43c410f9 winmm: Use PeekMessageW instead of UserYield. 2009-11-12 23:09:20 +01:00
Jörg Höhle 6b22861bfd winmm: MCI Close all causes one notification per open driver. 2009-11-10 13:12:52 +01:00
Jörg Höhle f177e61338 winmm: Do not crash on NULL MCI Sysinfo command output buffer pointer. 2009-11-05 15:46:14 +01:00
Jörg Höhle 91344ae77c winmm: Time formats hms/tmsf use leading zeroes as in 00:00:00. 2009-10-26 13:21:50 +01:00
Eric Pouech 2a581444d0 winmm: Get rid of 16bit driver support in mci. 2009-10-23 12:14:52 +02:00
Eric Pouech 05e625fe3f mmsystem: Create a real function for mciExecute. 2009-10-21 16:05:55 +02:00