SoundSentry function (winuser.h)

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
TRUE
The visual signal was or will be displayed correctly.
FALSE
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

SOUNDSENTRY

SoundSentryProc