Share via


Windows Media Player 11 SDK Erasing a Rewritable CD 

Windows Media Player SDK banner art

Previous Next

Erasing a Rewritable CD

The IWMPCdromBurn interface provides a method for erasing CD-RW discs. Before erasing a CD, you must first ensure that the operation is supported. For more information, see Retrieving the Drive and Disc Status.

To begin erasing the contents of a rewritable CD, call IWMPCdromBurn::erase.

  HRESULT hr = m_spCdromBurn->erase();

See Also

Previous Next