PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
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 AudioCD interface. Demonstrates audio CD authoring with CD-TEXT and hidden tracks.
  • BlockDevice. Records data to CD and DVD in real time. Uses the BlockDevice 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 BlockDevice.
  • BlurayBurner. Burns data on Blu-ray media including BD-R, BD-RE, BD-R DL and BD-RE DL . Supports 25GB and 50GB discs.
  • DataBurner. Burns data on CD media. Implements different file systems like ISO and Joliet, 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 primo::Stream objects. A custom primo::Stream 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. Locks 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 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.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator