Windows Media Player 11 SDK Starting the Burn ProcessĀ
Previous | Next |
Starting the Burn Process
Before burning can begin, you must assign a playlist to be burned. Use IWMPCdromBurn::put_burnPlaylist to specify a playlist for burning.
HRESULT CMainDlg::PutPlaylist (void) { // Specify the burn playlist. HRESULT hr = m_spCdromBurn->put_burnPlaylist(m_spPlaylist); // Update the status information. if (SUCCEEDED(hr)) { hr = m_spCdromBurn->refreshStatus(); } return hr; }
For information about using playlists, see IWMPPlaylist.
To start the burning operation, call IWMPCdromBurn::startBurn.
// Start burning. hr = m_spCdromBurn->startBurn();
You can stop the burning operation by calling IWMPCdromBurn::stopBurn.
// Stop burning. hr = m_spCdromBurn->stopBurn();
See Also
- Burning a CD
- Retrieving the CD Burning Interface
- Erasing a Rewritable CD
- Retrieving the Drive and Disc Status
- Retrieving the Burn Status
Previous | Next |