- Add some NULL checks. - Use new structures and api indices namings. svn path=/branches/ros-csrss/; revision=57726