No you didn't win the Korean War because U.S. troops are still there and the objective was to get rid of South Korea which if you haven't notice still exists.And US learned the lesson not to mess with China in Vietnam, so yes China did won the Korean War we prevented the US to completely occupy the North. Not only that we achieved a victory through the Vietnam War because the US left.