The SoundSentryProc function is a library-defined callback function that produces a customized visual signal when the SoundSentry accessibility feature is on and a Windows-based application (or a non-Windows-based application running in a window) generates a sound through the computer’s built-in speaker.
LRESULT CALLBACK SoundSentryProc(
DWORD dwMillisec, |
// duration of visual signal |
DWORD fdwEffect |
// effect-type flag |
); |
If the visual signal was or will be displayed correctly, the return value is TRUE. If the signal is asynchronous and the status is not available when the function is called, it should return TRUE.
If an error prevented the signal from being displayed, the return value is FALSE. To get extended error information, call GetLastError.
The library that contains the SoundSentryProc function must be a 32-bit DLL, and the DLL must export a function with the name “SoundSentryProc.”
The SoundSentryProc function is called only after an application or library calls the SystemParametersInfo function, specifying the SPI_SETSOUNDSENTRY value and the address of a SOUNDSENTRY structure whose iWindowsEffect member is set to SSWF_CUSTOM.
SOUNDSENTRY, SystemParametersInfo
file: /Techref/os/win/api/win32/func/src/f86_70.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/9 03:20,
3.15.18.221:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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/func/src/f86_70.htm"> SoundSentryProc</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. |
Welcome to sxlist.com! |
.