int ntfs_write_volume_flags (ntfs_volume * vol, const VOLUME_FLAGS flags);
Internal function. You probably want to use ntfs_{set,clear}_volume_flags instead (see below).
Replace the volume information flags on the volume vol with the value supplied in flags. Note, this overwrites the volume information flags, so make sure to combine the flags you want to modify with the old flags and use the result when calling ntfs_write_volume_flags.
Return 0 on success and -errno on error.