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>setvoicenote</b> queue a note http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetVoiceNote         Queue A Note

int SetVoiceNote(nVoice, nValue, nLength, nCdots)
int nVoice; /* Voice queue */
int nValue; /* 1 of 84 notes or zero for rest */
int nLength; /* reciprocal of duration 1:whole, 2:half, 4:quarter */
int nCdots; /* duration in dots nLength x (nCdots x 3/2) */

Returns:    Zero or:

                |------------------------------|
                | S_SERDCC Invalid dot count   |
                | S_SERDLN Invalid note length |
                | S_SERDNT Invalid note        |
                | S_SERQFUL Queue Full         |
                +------------------------------+

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