sndAlias

The sndAlias macro creates an alias identifier from two characters, for use with the PlaySound function.

DWORD sndAlias(
 ch0, 
  ch1  
);

Parameters

ch0

Character describing the sound alias.

ch1

Character describing the sound alias.

Return Values

Returns an alias identifier corresponding to the two supplied characters.

Remarks

This macro is defined as follows:

sndAlias(ch0, ch1)    (SND_ALIAS_START + (DWORD)(BYTE)(ch0) | 
    ((DWORD)(BYTE)(ch1) << 8)) 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

PlaySound