In the source file winceunits\mmsystem.pp, the SND_ALIAS_* constant definitions are incorrect.

Summary

the second DWORD of every constant should be shifted left by 8 but it is not.

System Information

  • Operating system: Win CE
  • Processor architecture: N/A
  • Compiler version: N/A
  • Device: smartphone

Steps to reproduce

There is nothing to reproduce, the definitions are incorrect.

Example Project

none

What is the current bug behavior?

the sounds played will be incorrect

What is the expected (correct) behavior?

play a specific/chosen sound

Relevant logs and/or screenshots

none refer to

https://forum.lazarus.freepascal.org/index.php/topic,72137.msg564180/topicseen.html#new

for additional details

Possible fixes

correct the definitions