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 12:19, local time: 2024/8/24 07:12,
3.14.145.132: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://piclist.com/tecHREF/os/win/api/win32/func/src/f86_70.htm"> SoundSentryProc</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.