April 13, 2026
1:20 p.m.
Steam has started unregistering an invalid handle on shutdown, resulting in a crash. On native, invalid handles are detected. I independently tested that these errors are caught at the sechost level, not just in user32. Native distinguishes between valid pointers that are not valid HDEVNOTIFYs and access violations, so I added a magic value to the struct so we can detect that scenario. -- v2: sechost: Catch invalid HDEVNOTIFY arguments to I_ScUnregisterDeviceNotification. https://gitlab.winehq.org/wine/wine/-/merge_requests/10648