sndAlias

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

DWORD sndAlias(
  ch0, 
  ch1  
);
 

Parameters

ch0 and ch1
Characters 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)) 

See Also

PlaySound