Commit Graph

73 Commits

Author SHA1 Message Date
Eric Pouech 99e8df6a37 mciqtz32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard acecec4a2e winmm: Command resources should not depend on pointer size.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52072
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-22 18:34:32 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc 586dbd1e1e mciqtz32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:58:19 +02:00
Alexandre Julliard 106f2feafa mciqtz32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 10:58:32 +02:00
Lukáš Krejčí 1d9a3f6d12 mciqtz32: Don't overflow seek times during multiplication.
Seek times are of type REFERENCE_TIME (64-bit), but the multiplication
is done in DWORD (32-bit).

Signed-off-by: Lukáš Krejčí <lskrejci@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Bruno Jesus 71fbaba426 mciqtz32: Implement MCI_DGV_PLAY_REPEAT.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 19:48:44 +01:00
Akihiro Sagawa cab9db9d95 mciqtz32: Use dB unit when setting audio volume.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09: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
Andrew Eikum 924c97fe90 mciqtz: Implement MCI_RESUME.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:45 +09:00
Sebastian Lackner 3179dd7bb1 mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:54 +09:00
Andrew Eikum 708a6b06cb mciqtz32: Support MCI_DGV_PUT_DESTINATION.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-17 15:40:39 +09:00
Akihiro Sagawa 998af35a3e mciqtz32: Watch the player thread while waiting a player task. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 7d5af1d889 mciqtz32: Simplify null parameter checks. 2015-05-12 17:33:59 +09:00
Akihiro Sagawa 46d5973961 mciqtz32: Guarantee that CoInitialize and CoUninitialize run on the same thread. 2015-05-12 17:33:50 +09:00
Akihiro Sagawa 0221688cdd mciqtz32: Fix notify flag behavior. 2015-03-18 19:27:51 +09:00
Akihiro Sagawa 7561375ede mciqtz: Implement MCI_DGV_SETAUDIO_VOLUME. 2015-03-06 00:02:03 +09:00
Akihiro Sagawa 7b0d86514a mciqtz32: "status mode" returns resource strings. 2015-02-03 16:30:57 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 2e9aa0c599 mciqtz32: Use BOOL type where appropriate. 2013-10-24 10:50:01 +02:00
Marcus Meissner c6761b8b9d mciqtz32: Do not print uninitialized variables (Coverity). 2013-09-06 11:46:52 +02:00
Nikolay Sivov 7f4d634e80 mciqtz: Call interface methods properly. 2012-08-20 10:59:01 +02:00
Andrew Eikum 8e88a5a6fa mciqtz32: Stop the graph when the file is no longer playing. 2012-03-29 18:40:41 +02:00
Andrew Eikum ad175df21a mciqtz: Actually assign result to the output structure. 2012-03-09 11:33:09 +01:00
Marcus Meissner 4ef1e17f03 mciqtz: Mark one variable as static. 2011-05-20 10:32:48 +02:00
Alexandre Julliard 5f49129e03 resources: Define a generic mechanism for adding extra values to the common version block. 2010-12-03 14:53:59 +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
Alexandre Julliard 9387810dab winmm: Make MCI_STATUS return type a 64-bit integer on 64-bit platforms.
Based on a patch by Octavian Voicu.
2010-09-29 20:17:01 +02:00
Aric Stewart dc4d607062 mciqtz32: Do not allow MCIQTZ_mciUpdate to interrupt a playing video. 2010-09-28 17:33:20 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Octavian Voicu 7f5e835c14 winmm: Replace command ids with symbolic constants in mci command resources. 2010-09-02 11:53:09 +02:00
Octavian Voicu 3324614ed3 winmm: Replace return types with symbolic constants in mci command resources. 2010-09-02 11:51:48 +02:00
Maarten Lankhorst 1583057fc8 mciqtz32: Fix window visibility. 2010-08-16 13:48:01 +02:00
Maarten Lankhorst 6d8d3d74fa mciqtz32: Fix mciPlay. 2010-07-30 14:59:41 +02:00
Maarten Lankhorst 910b95d328 mciqtz32: Fix mciOpen. 2010-07-30 14:59:41 +02:00
Maarten Lankhorst baa7dcb90e mciqtz32: Simplify mciWhere. 2010-07-30 14:59:40 +02:00
Maarten Lankhorst c2a0c774e2 mciqtz32: Add support for MCI_STATUS_MODE. 2010-07-30 14:44:09 +02:00
Maarten Lankhorst 1e5ce5309e mciqtz32: Add support for mciWindow. 2010-07-30 12:06:43 +02:00
Maarten Lankhorst 7737c0ad66 mciqtz32: Remove individual queryinterfaces. 2010-07-30 12:06:04 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +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
Maarten Lankhorst aa65a56afe mciqtz32: Add support for MCI_PAUSE. 2010-05-20 12:45:53 +02:00
Maarten Lankhorst ecbc152977 mciqtz32: Add support for MCI_STATUS_TIME_FORMAT. 2010-05-20 12:45:51 +02:00
Maarten Lankhorst 573abf8398 mciqtz32: Handle window visibility better.
Video Window only needs to be created on play, so defer until then.
2010-05-20 12:45:44 +02:00
Maarten Lankhorst 6956ce6153 mciqtz32: Add support for mciUpdate. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst e51d5af9d6 mciqtz32: Add support for MCI_DGV_WHERE_SOURCE. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst 4eddb852b1 mciqtz32: Handle mciOpen better. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst e331a84fc0 mciqtz32: Implement MCI_STATUS_LENGTH. 2010-05-18 18:42:10 +02:00
Maarten Lankhorst f65d4c5a47 mciqtz32: Add command table from mciavi32. 2010-05-18 18:42:10 +02:00