IOCTL / API to find if volume has Windows Deduplication enabled

Is there an API or IOCTL to find if a particular volume has Windows Deduplication enabled ? I do not see any difference in fsutil fsinfo volumeinfo and fsutil fsinfo ntfsinfo outputs before and after enabling deduplication on a volume (by following details from https://blogs.technet.microsoft.com/canitpro/2013/04/29/step-by-step-enabling-data-deduplication-on-windows-server-2012-volumes/ )

I do see powershell commandlets (E.g. Get-DedupStatus) but wanted to understand if there is an API or IOCTL available.

Checking again if someone knows more about it ?