Audio CD database source needed

As I currently am working on a CD player both for DOS and Windows, I
am interested in getting my hands on some source, which demonstrates
how to get the CD index through the MSCDEX driver.

If anyone has got some info on how to do so, but havent got a source,
then I would appreciate it too.