Click here to Skip to main content
15,896,153 members
Articles / Desktop Programming / ATL

Burning CD/DVD Media with the Image Mastering API Version 2.0 (IMAPI2)

Rate me:
Please Sign up or sign in to vote.
4.85/5 (78 votes)
12 Dec 2009CPOL5 min read 542.7K   16.5K   222  
Example of a CD/DVD burning application using IMAPI2.
#pragma once

#include "BaseObject.h"

// CFileObject command target

class CFileObject : public CBaseObject
{
	DECLARE_DYNAMIC(CFileObject)

protected:
	IStream* m_pStream;

public:
	CFileObject(const CString& filePath);
	virtual ~CFileObject();

	virtual ULONGLONG	GetSizeOnDisc();
	IStream*	GetStream();
};


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Thank you for voting on my articles!

MCSD.NET in C#


Comments and Discussions