removed references to ERROR_SUCCESS