Documentation
¶
Rendered for windows/amd64
Overview ¶
Command windows-notify-probe measures, on a real Windows machine, the two in-process routes card 153 wants for the message sound and the desktop notification (.context/plans/windows-notifications.md, report E13): winmm's PlaySound for the sound, and a notification-area balloon through Shell_NotifyIconW for the notification, which Windows 10 and 11 render as a toast. It is run by hand from a clone (`go build ./scripts/experiments/windows-notify-probe`), one measurement per invocation, and writes what it did and what each call returned to stderr and to notify-probe.log under TEMP; a person at the screen reports what appeared.
probe sound [alias <name> | file <path>] [-volume <0..65535>] play once, synchronously
probe balloon [-keep <seconds>] [-aumid <id>] [-title <t>] [-text <t>]
a message-only window, an icon in the notification area (the stock information icon), one balloon with
NIIF_INFO | NIIF_NOSOUND | NIIF_RESPECT_QUIET_TIME; the icon stays -keep seconds (default 12) and is then
deleted. -aumid calls SetCurrentProcessExplicitAppUserModelID first, to see whether the toast's header
changes for a process that names one.
Click to show internal directories.
Click to hide internal directories.