次の方法で共有


IWMPCdromRip (VB and C#) interface

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Provides properties and methods to manage copying, or ripping, tracks from an audio CD.

Ripping a CD by using the IWMPCdromRip interface has the same effect as ripping music by using the Windows Media Player user interface. Ripped content is automatically added to the library according to the user's preferences. For more information about user preferences for CD ripping, see "Ripping music from CDs" in Windows Media Player Help.

The IWMPCdromRip interface exposes the following properties.

Members

The IWMPCdromRip (VB and C#) interface has these types of members:

Methods

The IWMPCdromRip (VB and C#) interface has these methods.

Method Description
startRip Rips the CD.
stopRip Stops the CD ripping process.

Properties

The IWMPCdromRip (VB and C#) interface has these properties.

Property Access type Description
ripProgress
Read-only
Gets the CD ripping progress as percent complete.
ripState
Read-only
Gets an enumeration value that indicates the current state of the ripping process.

Get an IWMPCdromRip interface by casting the IWMPCdrom interface of the CD that you wish to rip.

Requirements

Requirement Value
Header
Wmp.h

See also

Interfaces for Visual Basic .NET and C#

Ripping a CD