The DVD burner functionality makes it possible to burn ISO and DVD images or regular data folders on recordable and writable media.
To begin burning, follow the steps:
C Source
ILTDVDBurner * pBurner;
CoCreateInstance
(CLSID_LTDVDBurner, NULL, LSCTX_INPROC_SERVER, IID_ILTDVDBurner, (void**) & pBurner);
C++ Source
ILTDVDBurner * pBurner;
CoCreateInstance
(CLSID_LTDVDBurner, NULL, LSCTX_INPROC_SERVER, IID_ILTDVDBurner, (void**) & pBurner);
The burner object can burn an ISO/DVD image or regular data folder (for example, a DVD at C:\DVDImage or an ISO file at "C:\ISOFile\Image.iso").
To burn a DVD image, use an empty writable or rewritable DVD. To burn ISO files, use either an empty writeable or rewritable CD or DVD.
Eject the drive tray and insert the empty disc:
C Source
ILTDVDBurner_EjectDisc (pBurner);
C++ Source
pBurner->EjectDisc ();
C Source
ILTDVDBurner_LoadDisc (pBurner);
C++ Source
pBurner->LoadDisc ();
C Source
//For the DVD image
ILTDVDBurner_put_InputPath (pBurner ,L" C:\\DVDImage");
//For the ISO file
ILTDVDBurner_put_InputPath (pBurner ,L"C:\\ISOFile\\Image.iso");
C++ Source
//For the DVD Image
pBurner->put_InputPath (L" C:\\DVDImage");
//For the ISO file
pBurner->put_InputPath (L"C:\\ISOFile\\Image.iso");
C Source
ILTDVDBurner_put_VolumeName (pBurner,L"DRIVE-1");
C++ Source
pBurner->put_VolumeName (L"DRIVE-1");
C Source
Long lCount = 0 ;
BSTR bstr = NULL;
ILTDVDBurner_RefreshSpeedList (pBurner);
// Get the number of available speeds
ILTDVDBurner_get_SpeedCount (pBurner, & lCount);
// For each index value, retrieve the name of the speed
// Use this feature to display the names of the available speeds.
For(long i = 0; i < lCount ; i++)
{
ILTDVDBurner_GetSpeedName (pBurner, i, &bstr);
// Do something with the name.
// Free the name after you finish using it
SysFreeString(bstr);
}
C++ Source
Long lCount = 0 ;
BSTR bstr = NULL;
pBurner ->RefreshSpeedList ();
// Get the number of available speeds
pBurner ->get_SpeedCount (& lCount);
// For each index value, retrieve the name of the speed
// Use this feature to display the names of the available speeds.
For(long i = 0 ; i <lCount ; i++)
{
pBurner ->GetSpeedName (i, &bstr);
// Do something with the name
// Free the name after you finish using it
SysFreeString(bstr);
}
C Source
//Select the speed that you want
ILTDVDBurner_put_CurrentSpeed (pBurner, lCount - 1);
C++ Source
//Select the speed that you want
pBurner ->put_CurrentSpeed (lCount - 1);
C Source
VARIANT_BOOL eraseable;
ILTDVDBurner_get_Eraseable (pBurner, &eraseable);
If (eraseable == VARIANT_TRUE)
ILTDVDBurner_Erase (pBurner);
C++ Source
VARIANT_BOOL eraseable;
pBurner ->get_Eraseable ( &eraseable);
If (eraseable == VARIANT_TRUE)
pBurner ->Erase ();
C Source
VARIANT_BOOL testwriteable;
ILTDVDBurner_get_TestWriteable (pBurner, & testwriteable);
If (testwriteable== VARIANT_TRUE)
ILTDVDBurner_TestWrite (pBurner);
C++ Source
VARIANT_BOOL testwriteable;
pBurner ->get_TestWriteable ( & testwriteable);
If (testwriteable== VARIANT_TRUE)
pBurner ->TestWrite ();
C Source
ILTDVDBurner_Write (pBurner);
C++ Source
pBurner ->Write ();
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document