devxlogo

Accessing Music CD Information

Accessing Music CD Information

Question:
I am writing a Music CD program. I know that each Music CD has a unique number that identifies it. How can I access the number on the CD?

Answer:
Take a look at the GetVolumeInformation API call. This call will returnthe Volume Serial Number, which is a unique ID for all CDs and CD-ROMs (asfar as I’ve seen personally) If you download the code for the In Deptharticle dealing with the TabStrip control, you can get an example of thecode to implement this API call.

devx-admin

Share the Post: