Commit Graph

110 Commits

Author SHA1 Message Date
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
Alex Henrie 11f47ac74b msdmo: Fix size of DMOGetName's array argument (GCC).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-03 23:41:05 +02:00
Michael Stefaniuc dea1fceb71 msdmo/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Zebediah Figura 2d4e21d45e msdmo: Also handle ERROR_SUCCESS with nonzero size from RegQueryValueExW().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49659
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-01 11:48:55 +02:00
Zebediah Figura 78d2a0919e msdmo: Avoid leaking key handles in DMOGetTypes().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-13 21:22:13 +02:00
Zebediah Figura 37b926b8fe msdmo: Return the number of media types retrieved from DMOGetTypes().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-13 21:22:13 +02:00
Zebediah Figura 03a2191449 msdmo: Return S_OK from DMOGetTypes() even if the buffer is too short.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-13 21:22:13 +02:00
Zebediah Figura d36553f290 msdmo/tests: Add tests for DMOGetTypes().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-13 21:22:12 +02:00
Zebediah Figura caa41d4917 msdmo: Use a dynamically allocated buffer in IEnumDMO::Next().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Zebediah Figura aa2406ecea msdmo: Factor out any_types_match().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Zebediah Figura 3a708d4722 msdmo: Use wide character string literals.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Zebediah Figura 42a8f382ed msdmo: Avoid a redundant string -> GUID conversion.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Zebediah Figura fb64420673 msdmo: Remove dead code associated with an older registry format.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Jacek Caban 8d0b0b7b0c msdmo: Use proper buffer types in IEnumDMO::Next.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-07 20:13:23 +02:00
Alexandre Julliard b5d2b70dff msdmo: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Sven Baars 61e0ffcd73 msdmo: Allow for names to be NULL in IEnumDMO_Next.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:33:20 +01:00
Michael Stefaniuc a89880615e msdmo: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Zebediah Figura 4e49d7ba42 msdmo: DMORegister() returns E_FAIL if unable to access the registry.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:06:13 +02:00
Zebediah Figura 351c8621b7 msdmo: Only return valid GUIDs in IEnumDMO_Next().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:45:22 +02:00
Zebediah Figura 386c27084a msdmo: Make formatting consistent with the rest of the file.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:33:43 +02:00
Zebediah Figura e2e3f70ed7 msdmo: Fix pointer checking in IEnumDMO_Next().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:33:41 +02:00
Zebediah Figura 216e1f25a4 msdmo: Return a valid enumerator even if the category doesn't exist.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:33:35 +02:00
Zebediah Figura cf9c6fc0e3 msdmo: Link to dmoguids.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 10:45:09 +02:00
Nikolay Sivov 49958f83f1 msdmo: Reg* API does not use HRESULT return codes. 2015-05-04 20:11:03 +09:00
Nikolay Sivov 70297c424a msdmo: Add more tracing. 2015-04-24 21:19:31 +09:00
Nikolay Sivov 55620f097c msdmo: Added a helper to duplicate partial media type arrays. 2015-04-24 21:19:27 +09:00
Nikolay Sivov 0b7b8e3dc3 msdmo: Store requested category GUID instead of a pointer to it. 2015-04-24 21:19:11 +09:00
Nikolay Sivov 3f7c47118a msdmo: Next() method should use CoTaskMemAlloc() for returned names. 2015-04-23 15:49:14 +09:00
Nikolay Sivov 65bf359d6f msdmo: Remove a helper only used once. 2015-04-23 15:49:11 +09:00
Nikolay Sivov 6238adc817 msdmo: Fix DMOGetName() error handling and error values. 2015-04-22 23:25:57 +09:00
Nikolay Sivov 89837cb04e msdmo: Fix DMOUnregister() when running on clean wineprefix. 2014-12-31 11:39:00 +01:00
Nikolay Sivov af6712599a msdmo: Use specified category in DMOUnregister(). 2014-12-30 15:55:06 +01:00
Nikolay Sivov 6eab498160 msdmo: Fix RegOpenKeyExW() failure condition.
Spotted by Mark Harmstone.
2014-12-29 11:41:37 +01:00
Nikolay Sivov 5c91d011bb msdmo: Registry API functions don't return HRESULT codes. 2014-12-29 11:41:32 +01:00
Nikolay Sivov 1f93f5350b msdmo: Implement IEnumDMO_Clone(), fix trace messages. 2014-10-15 21:30:58 +09:00
Nikolay Sivov 06c52ce940 msdmo: Cleanup IEnumDMO creation code. 2014-10-15 21:30:53 +09:00
Victor Martinez Calvo 0aea3728cc msdmo: Actually copy output string in IEnumDMO_fnNext. 2014-05-05 12:17:50 +02:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Michael Stefaniuc 8cb3ede419 msdmo: DMOGetTypes() is implemented and not a stub. 2012-09-12 12:47:18 +02:00
Alexandre Julliard e59ac81c5e msdmo: Don't use an interface pointer for an internal function. 2010-11-29 13:28:26 +01:00
Michael Stefaniuc 8d959c9949 msdmo: Use an iface instead of a vtbl pointer in IEnumDMOImpl. 2010-11-29 13:28:21 +01: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
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard fdd615843b msdmo: Convert the language-neutral resource file to UTF-8. 2009-07-09 15:47:37 +02:00
Michael Stefaniuc dfd821d6a9 msdmo: Remove superfluous pointer casts. 2009-01-23 13:14:18 +01:00
Alexandre Julliard 505434aa08 msdmo: Convert source files to utf-8. 2008-10-18 19:20:10 +02:00
Marcus Meissner 0ff2c06c1d Fixed RegEnumKey(Ex)W buffer sizes. 2008-10-13 12:04:26 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Andrew Talbot 6324670b31 msdmo: Fix calculation of array size in bytes. 2008-04-10 09:51:42 +02:00