[ros-diffs] [weiden] 24375: Fix displaying Win32 errors (the Reg* APIs don't set the last error code!)