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;
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. |
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.
Wndows NT: This member is reserved for future use. It must be set to
zero.
Windows NT: This member is reserved for future use. It must be set to
zero.
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.
Windows NT: This member is reserved for future use. It must be set to
zero.
Windows NT: This member is reserved for future use. It must be set to
zero.
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. |
Windows NT: This member is reserved for future use. It must be set to
zero.
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.
SoundSentryProc, SystemParametersInfo
file: /Techref/os/win/api/win32/struc/src/str20_31.htm, 9KB, , updated: 2000/4/7 12:20, local time: 2024/9/1 11:50,
3.145.68.182:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/struc/src/str20_31.htm"> SOUNDSENTRY</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.