|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
SOUNDSENTRY
The SOUNDSENTRY structure contains information about the SoundSentry accessibility feature.
When the SoundSentry feature is on, the computer displays a visual indication
only when a sound is generated.
Windows 95: The visual indication is displayed when a sound is generated through the
computer's internal speaker.
Windows NT: The visual indication is displayed when a sound is generated through either
the multimedia sound services or through the computer's speaker.
typedef struct tagSOUNDSENTRY { // ss
UINT cbSize;
DWORD dwFlags;
DWORD iFSTextEffect;
DWORD iFSTextEffectMSec;
DWORD iFSTextEffectColorBits;
DWORD iFSGrafEffect;
DWORD iFSGrafEffectMSec;
DWORD iFSGrafEffectColor;
DWORD iWindowsEffect;
DWORD iWindowsEffectMSec;
LPTSTR lpszWindowsEffectDLL;
DWORD iWindowsEffectOrdinal;
} SOUNDSENTRY, *LPSOUNDSENTRY;
Members
cbSize
Specifies the size, in bytes, of this structure.
dwFlags
A set of bit flags that specify properties of the SoundSentry feature. The
following bit-flag values are defined:
Value
| Meaning
| SSF_AVAILABLE
| If this flag is set, the SoundSentry feature is available.
| SSF_SOUNDSENTRYON
| If this flag is set, the SoundSentry feature is on.
|
iFSTextEffect
Windows 95: Specifies the visual signal to present when a text-mode application generates
a sound while running in a full-screen virtual machine. This member can be one
of the following values:
Value
| Meaning
| SSTF_BORDER
| Flash the screen border (that is, the overscan area), which is unavailable on
some displays.
| SSTF_CHARS
| Flash characters in the corner of the screen.
| SSTF_DISPLAY
| Flash the entire display.
| SSTF_NONE
| No visual signal.
|
Windows NT: This member is reserved for future use. It must be set to zero.
iFSTextEffectMSec
Windows 95: Specifies the duration, in milliseconds, of the visual signal that is
displayed when a full-screen, text-mode application generates a sound.
Wndows NT: This member is reserved for future use. It must be set to zero.
iFSTextEffectColorBits
Windows 95: Specifies the RGB value of the color to be used when displaying the visual
signal shown when a full-screen, text-mode application generates a sound.
Windows NT: This member is reserved for future use. It must be set to zero.
iFSGrafEffect
Windows 95: Specifies the visual signal to present when a graphics-mode application
generates a sound while running in a full-screen virtual machine. This member can be
one of the following values:
Value
| Meaning
| SSGF_DISPLAY
| No visual signal.
| SSGF_NONE
| Flash the entire display.
|
Windows NT: This member is reserved for future use. It must be set to zero.
iFSGrafEffectMSec
Windows 95: Specifies the duration, in milliseconds, of the visual signal that is
displayed when a full-screen, graphics-mode application generates a sound.
Windows NT: This member is reserved for future use. It must be set to zero.
iFSGrafEffectColor
Windows 95: Specifies the RGB value of the color to be used when displaying the visual
signal shown when a full-screen, graphics-mode application generates a sound.
Windows NT: This member is reserved for future use. It must be set to zero.
iWindowsEffect
Specifies the visual signal to display when a sound is generated by a
Windows-based application or an MS-DOS application running in a window. This member can
be one of the following values:
Value
| Meaning
| SSWF_CUSTOM
| Call the SoundSentryProc routine exported by the DLL specified by the iFSWindowsEffectDLL member.
| SSWF_DISPLAY
| Flash the entire display.
| SSWF_NONE
| No visual signal.
| SSWF_TITLE
| Flash the title bar of the active window.
| SSWF_WINDOW
| Flash the active window.
|
iWindowsEffectMSec
Windows 95: Specifies the duration, in milliseconds, of the visual signal that is
displayed when a Windows-based application (or a non-Windows-based application running
in a window) generates a sound.
Windows NT: This member is reserved for future use. It must be set to zero.
lpszWindowsEffectDLL
Points to the buffer that contains the name of the DLL that contains a SoundSentryProc callback function. The length of the name must not exceed the value of
MAX_PATH. This member is NULL if no DLL is used. When retrieving information about
the SoundSentry feature, the size of the buffer must be equal to, or larger than,
the value of MAX_PATH.
iWindowsEffectOrdinal
This member is reserved for future use on both platforms. It must be set to
zero.
Remarks
An application uses a SOUNDSENTRY structure when calling the SystemParametersInfo function with the wAction parameter set to SPI_GETSOUNDSENTRY or SPI_SETSOUNDSENTRY. When using
SPI_GETSOUNDSENTRY, an application must specify the cbSize member of the SOUNDSENTRY structure; the SystemParametersInfo function fills the remaining members. An application must specify the cbSize, dwFlags, and iWindowsEffect members when using the SPI_SETSOUNDSENTRY value.
See Also
SoundSentryProc, SystemParametersInfo
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|