upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/lifecycle_test.cpp
AgeCommit message (Collapse)Author
11 dayslifecycle: suspend callbacks on window close and fit the title window (split ↵andretuta
from #401) RegisterAppStateChangeNotification / UnregisterAppStateChangeNotification under api-ms-win-core-psm-appnotify-l1-1-0/-l1-1-1 and kernelbase.dll, and CreateWindowExW/A under user32.dll and ext-ms-win-rtcore-ntuser-window-l1-1-0/-l1-1-1, plus CreateWindowExA under ext-ms-win-rtcore-ntuser-window-ansi-l1-1-0, the set the title's import table names. The title's first top-level window is fitted to the work area and hooked: SC_CLOSE runs the suspend callbacks (quiesced TRUE) and ends the run through the title's ExitProcess, with a 1 s deadline. Split from #401 (a02134a9c), as the maintainer asked for one topic per pull request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>