 |
Beep ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL Beep(
DWORD dwFreq, // sound frequency
DWORD dwDuration // sound duration
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER Beep IN kernel32;
INTEGER dwFreq,;
INTEGER dwDuration
|
 |
 |
 |
| Parameters: |
 |
dwFreq
[in] Specifies the frequency, in hertz, of the sound.
dwDuration
[in] Specifies the duration, in milliseconds, of the sound. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. |
 |
 |
| My comment: |
 |
| Windows 95/98/Me: On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep. I"ve never seen such computer in years. |
 |
 |
| Word Index links for the Beep : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-20 18:09:43 | | Modified: | 2001-12-20 18:12:19 | Visited in last 7 days: 27 |