OS2 API:WinAlarm
From EDM2
Contents |
[edit] WinAlarm
- WinAlarm(desktopHandle, alarmStyle)
- Generates an audible alarm.
[edit] Parameters
[edit] Constants
These are the differing alarm tone constants:
The frequency of these alarm types can be changed with WinSetSysValue. The alarm frequency range is 0x0025 through 0x7FFF. If SV_ALARM is set to FALSE then no alarm will sound.
[edit] Returns
This function returns a BOOL with the values of:
Possible errors from WinGetLastError are:
[edit] Module
[edit] Define (C/C++)
INCL_WINDIALOGS or INCL_WIN or INCL_PM or INCL_COMMON
[edit] Ordinal/Export name
[edit] Calling conversion
[edit] Example Code
... APIRET rc; rc = WinAlarm (HWND_DESKTOP, WA_NOTE); ...
[edit] Related Functions
[edit] Notes
WinAlarm function also used for multimedia subsystem notification.

