Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setvoicesound</b> queue a sound http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetVoiceSound        Queue A Sound

int SetVoiceSound(nVoice, lFrequency, nDuration)
int nVoice;
long lFrequency; /* kilohertz in high word, fractional freq */
int nDuration;

Note:           lFrequency is incorrectly shown as int in "Window
                Programmer's Reference"

Returns:    Zero or:

                |----------------------------|
                | S_SERDDR Invalid duration  |
                | S_SERDFQ Invalid frequency |
                | S_SERDVL Invalid volume    |
                | S_SERQFUL Queue Full       |
                +----------------------------+

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson