Commit graph

7 commits

Author SHA1 Message Date
Thamatip Chitpong 781c247bd3
[MMSYS] Multimedia Control Panel diverse fixes (#4572)
- Use Unicode (WCHAR) instead of TCHAR
- Code formatting
- Use string safe functions
- Close handles after calling `CreateProcess`
- Save sound path as `REG_EXPAND_SZ` only if the path
  contains '%' character, like Windows does
- Fix `wcsdup` leaks

Reviewed-by: Mark Jansen <mark.jansen@reactos.org>
Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Reviewed-by: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
2022-09-14 20:06:22 +03:00
Thamatip Chitpong 0c324e350e
[CPL] Use MAKEINTRESOURCE instead of LoadString (#4631)
Fixes for ACCESS, DESK, INTL, MAIN, MMSYS, OPENGLCFG, POWERCFG, TIMEDATE, USRMGR, and WINED3DCFG.
2022-08-27 16:01:55 +02:00
Serge Gautherie 03d5ff7f68
[MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)
CORE-17079
2020-05-25 19:57:52 +02:00
Eric Kohl d5ceace419 [MMSYS] Take the balance between channels into account for the master volume trackbar. 2019-02-04 23:54:04 +01:00
Eric Kohl 9f41824321 [MMSYS] Set the tab title, implement the 'restore defaults' button and the synchronized trackbar movement. 2019-01-21 00:25:17 +01:00
Eric Kohl 431f9bf311 [MMSYS] Improvements to the speaker volume property page
- Open a separate mixer instance for the page, so that MM_MIXM_CONTROL_CHANGE notifications can be received.
- Keep line and channel configurations in a global struct.
- Handle MM_MIXM_CONTROL_CHANGE and WM_HSCROLL notifications.
2019-01-20 22:00:42 +01:00
Eric Kohl d301d6a378 [MMSYS] Add the speaker volume dialog.
Retrieve information on the channels and initialize the trackbars accordingly.
2019-01-20 15:59:30 +01:00