Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Triggers a visual signal to indicate that a sound is playing.
Syntax
BOOL SoundSentry();
Return value
Type: BOOL
This function returns one of the following values.
| Return code | Description |
|---|---|
|
The visual signal was or will be displayed correctly. |
|
An error prevented the signal from being displayed. |
Remarks
Set the notification behavior by calling SystemParametersInfo with the SPI_SETSOUNDSENTRY value.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | winuser.h (include Windows.h) |
| Library | User32.lib |
| DLL | User32.dll |
| API set | ext-ms-win-ntuser-window-l1-1-0 (introduced in Windows 8) |
See also
Reference