PrimoBurner(tm) 3.6.1 for C++
PrimoBurner SDK Samples

The PrimoBurner SDK includes samples that demonstrate many of the topics described in this documentation. The following samples are located in the Samples directory, under the main SDK directory: 

 

  • AudioBurner. Creates audio CD from audio files. Uses the IAudioCD interface. Demonstrates audio CD authoring with CD-TEXT and hidden tracks.
  • BlockDevice. Records data to CD and DVD in real time. Uses the IBlockDevice interface. Suitable for burning data incrementally when the file size and number of files is not known in advance. Most of real-time image and video capturing applications will work with IBlockDevice.
  • BlurayBurner. Burns data on Blu-ray media including BD-R, BD-RE, BD-R DL and BD-RE DL . Supports 25GB and 50GB discs.
  • CprmDevice. Reads the properties of CPRM (Content Protection for Recording Media) enabled DVD-RW. Read various media keys and other properties.
  • DataBurner. Burn data on CD media. Implements different file systems like ISO, Joliet, HFS and UDF, and bootable disc creation.
  • DataBurnerCmd. Burns a folder from HDD or burns an ISO image file. Folder burning may be performed in packet mode (incremental burning of content), in which case the disc must be finalized in order to be readable. Works with all types of media - CD/DVD/BD.
  • DataBurnerEx. Same as DataBurner but instead of reading data from files it reads it from IDataStream objects. A custom IDataStream implementation can be used to read data from unconventional sources like encrypted files or a database.
  • DataReaderCmd. Creates an image of a CD/DVD/BD track. Extracts single file from an ISO image or from a CD/DVD/BD disc. Reads files from hidden CD/DVD/BD sessions. Hidden sessions are normally not shown by the operating system.
  • DVDBurner. Burns data on DVD. Burns a DVD Video disc from DVD video file structure (i.e. VIDEO_TS folder).
  • LockMedium. Lock and unlocks the device tray.
  • PacketBurnerEx. Burns CDs and DVDs in packet mode. Packet mode allows you to burn files and sessions in increments. In order to be readable packet mode discs must be must be finalized.
  • ReadCDChannel. Reads and displays sub-channel information from a CD.
  • ReadCDSession. Reads CD index, ISRC (International Standard Recording Code) and MCN (Media Catalog Number) information from a CD.
  • ReadCDText. Reads CD-TEXT information from an Audio CD.
  • ReadMediaInfo. Reads media manufacturer details, disk capacity, disk free space and media track information.
  • ReadTOC. Reads general information about a CD like number of sessions, number of tracks, and track lengths. This sample works with CD media only.
  • ScsiCmd. Sends SCSI commands directly to the device.
Topics
Topic 
Description 
The samples provided with PrimoBurner SDK may need additional tools/libraries to be built with.

  • Windows samples

PrimoBurner SDK samples come with solutions and projects for VS 2005, VS 2008 and VS 2010. The following GUI samples use MFC as shared dll:
AudioBurner, BluRayBurner, DataBurner, DataBurnerEx, DiscCopy, DVDBurner
 

  • Mac OS X samples

All samples are distributed with XCode 2 and XCode 3 projects. The following samples use Qt framework to build the needed user interface:
AudioBurner, DiscCopy, DVDBurner
PrimoBurner SDK distributes the QtCore and QtGui libraries which can be found in ‘Frameworks’ folder of the package.
 

  • Linux/Ubuntu samples

The following samples... more 

Links