Windows API PlaySound error / silence

Today stumbled at strange behavior of Windows API function PlaySound in combination with SND_FILENAME flag. There are two scenarios: No sound is played, and PlaySound returns success (TRUE) in combination with SND_ASYNC; No sound is played, and PlaySound returns failure (FALSE) when using the same wav file, but without asynchronous flag. The cause is, that …