reactos/dll/win32/winmm
Thamatip Chitpong f18111b641
[WINMM] Winmm fixes for system sound (#4635)
CORE-13951

MIDIMAP_LoadSettings and PlaySound:
Use RegOpenCurrentUser to access the appropriate HKEY_CURRENT_USER key.
This allows functions that use HKEY_CURRENT_USER to be called from system
processes while impersonating, for example: winlogon.

PlaySound:
- Open the correct registry key.
- Expand environment strings if registry value type is REG_EXPAND_SZ.
- Handle "SystemDefault" event and improve flags handling.
- Don't use proc_PlaySound as thread proc.
- Fix SND_ASYNC flag for system processes.
  Move get_mmio* code out of proc_PlaySound to fix impersonation problem.
2023-05-05 14:19:34 +02:00
..
lang
midimap [WINMM] Winmm fixes for system sound (#4635) 2023-05-05 14:19:34 +02:00
CMakeLists.txt
driver.c
joystick.c
lolvldrv.c
mci.c
mmio.c [WINMM] Constify some variables 2023-02-07 20:53:08 +01:00
playsound.c [WINMM] Winmm fixes for system sound (#4635) 2023-05-05 14:19:34 +02:00
registry.c
time.c
winemm.h
winemm16.h
winmm.c
winmm.spec
winmm_res.rc