[ros-diffs] [janderwald] 22179: fix apps depending on INVALID_HANDLE_VALUE bug report & patch by w3seek