The information in this article applies to:
SUMMARYThis article describes how to call the MessageBeep() API function to play wave files associated with the Windows System sound assignment. MORE INFORMATION
The system sound assignments are made through the Sounds icon in the
Control Panel. The MessageBeep() function can accept one of the five
functions in the following list. The definitions for the constants were
taken from the MessageBeep section in the "Visual Basic Programmer's Guide
to the Win32 API".
The values normally assigned to these constants follow. For the standard
beep, zero can be used.
To use the MessageBeep() function, use the DECLARE statement and then call
MessageBeep() with one of the constants. For example:
REFERENCES
"PC Magazine's Visual Basic Programmer's Guide to the Windows API" by
Daniel Appleman, page 340, Ziff-Davis Press, 1996
Additional query words: kbVFp600 kbVFp500a kbAPI
Keywords : |
Last Reviewed: August 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |