Want API for finding HDA information

Hi all,

I am finding api for getting information about physical volumes such as device name, vendor, serial number etc.

And I want to do it in C.

:frowning: :frowning: please tell me any way out....

If your answer is use IOCTL, which i dont know how to use...