mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 01:24:11 +00:00
A free Windows-compatible Operating System - mirrored from GitHub
![]() Fix the ShowLastWin32Error helpers: - don't display the last error string if it's ERROR_SUCCESS (since the code usually expects to display the last error message in case of errors); - *always* call FormatMessage with the FORMAT_MESSAGE_IGNORE_INSERTS flag enabled. Indeed if it happens that the message string associated to an error ID contains insert parameter placeholders, and since we don't give here FormatMessage any argument array, the call would result into a crash without this flag. svn path=/trunk/; revision=72897 |
||
---|---|---|
reactos | ||
rosapps | ||
rossubsys | ||
rostests | ||
wallpapers |