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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist