Questions tagged [imapi]

The Image Mastering Application Programming Interface, or IMAPI, is a component of Microsoft Windows operating system used for CD and DVD authoring and recording.

The Image Mastering Application Programming Interface, or IMAPI, is a component of Microsoft Windows operating system used for CD and DVD authoring and recording.

IMAPI provides the ability to create and burn single-session and multi-session discs, including bootable discs. It also provides low-level access to the burn engine for developing support for new devices, as well as access to extended recorder properties.

IMAPI was originally introduced with Windows XP. IMAPI version 2.0 was released with Windows Vista and Windows Server 2008. Current version of IMAPI supports Recordable Blu-ray Disc (BD-R) and Rewritable Blu-ray Disc (BD-RE) media.

More information is available on MSDN and Wikipedia.

33 questions
1
vote
1 answer

Can IMAPI2 burn files with the size > 4Gb?

IMAPI2 interface IFileSystem uses COM IStream interfaces to represent file data. There is AddTree method that adds specified directory contents to IFileSystem. So AddTree must create IStream's in the process. I wonder what implementation of IStream…
Sergey Skoblikov
  • 5,811
  • 6
  • 40
  • 49
1
vote
0 answers

Java/Com4J/IMAPI2. Unable to subscribe to WriteEngine events (BurnDVD application)

I'm developing an application with burning DVD functionality. The IMAPI2 interfaces stack is provided by a COM object, and I've managed to hook into it using com4j. Now the application is able to burn DVD successefully but unfortunately, I'm not…
vzateychuk
  • 301
  • 1
  • 3
  • 12
1
vote
1 answer

Detect emptiness of DVD-RAM media on Windows 7 x64

I'm trying to detect if a DVD-RAM media is empty or not, with C++ on Windows. The simplest choice is to use IMAPI (version 2) - boilerplate code omitted: IMAPI_FORMAT2_DATA_MEDIA_STATE state; HRESULT hr; // ... Initialize an MsftDiscFormat2Data COM…
Itaypk
  • 1,103
  • 10
  • 25
1
vote
1 answer

IMAPI2 Error on Windows XP

We have developed application for CD/DVD burning. The Application uses microsoft IMAPI2. It works without any problem on Windows 7. On XP, We rebuilt the application on Windows XP and we received IMAPI2 error (Error screen shot). We have installed…
Harsha
  • 1,861
  • 7
  • 28
  • 56
1
vote
1 answer

What is the Windows API to use a disc as a Live File System?

I have developed a CD Burning Application with C++ using Windows IMAPI. However, now I want my disc to be able to function like Live File System (Like USB). Basically, I want to have the capabilities that Windows Explorer provide in below screen…
Avan CaiJun
  • 111
  • 1
  • 1
  • 11
1
vote
1 answer

How to asynchronously write CD/DVD using IMAPI?

I have been told to write a software to burn a CD synchronously/asynchronously as per user choice. I am using IMAPIv2 with C# for the project, and it does not provide the functionality explicitly to write the data asynchronously. In order to design…
Sherwin
  • 49
  • 6
1
vote
1 answer

IMAPI2 in VB 2008 progress bar

I start making program that will burn CD/DVDs, and everything is okay. I found way to burn with IMAPI2 API, but now I have problem: I can't get progress bar of that burning. Here is code: Dim CDD1 As New IMAPI2.MsftDiscMaster2 Dim CDD2 As New…
SharkTheDark
  • 3,089
  • 4
  • 24
  • 29
1
vote
1 answer

IMAPI: How to get image size without throwing exception if image size exceeds free space?

I am writing a code to write a media (CD/DVD) using IMAPI (C#.NET). The writing works all fine. In case when I try to add file which exceeds the free space on media, it throws exception. I can catch the exception but it does not serve my purpose. I…
Amit Joshi
  • 15,448
  • 21
  • 77
  • 141
1
vote
1 answer

IMAPI: COMException Internal file system error occurred [-1062555360 ]

I am writing CD/DVD using IMAPI with C#.NET windows application. The data I write on CD contains one executable file (test.exe) which is also developed with C#.NET and virtualized (sandobx) using Turbo Virtualization Studio. All data to be written…
Amit Joshi
  • 15,448
  • 21
  • 77
  • 141
1
vote
1 answer

errors in imapi2.h when compiling imapi2 app with mingw64 c++ "declaration of '__RPC__range' with no type"

I am trying to use imapi2 to write to cd-rw's with a c++ program that is compiled with mingw on windows. I am looking at a Visual Studio c++ example. I copied imapi2.h to my project from Microsoft SDK 7.1, but when I include #include "imapi2.h" in…
user1404617
  • 585
  • 1
  • 5
  • 20
1
vote
1 answer

How do I use IFileSystemImage2's put_BootImageOptionsArray from IMAPI2 (getting E_NOINTERFACE)?

I am trying to use the IFileSystemImage2 interface to create an ISO with multiple boot records using Imapi2. To do this, I should be able to use put_BootImageOptionsArray passing in SAFEARRAY* of VT_DISPATCH type, i.e. COM pointers of type…
user257111
1
vote
2 answers

How to finalize Live File System (LiveUDF) disc with DeviceIoControl and FSCTL_MAKE_MEDIA_COMPATIBLE in C#?

I'm trying to finalize a Live File System (or "Live UDF") optical disc in C#. From what I understand from reading MSDN and TechNet articles along with various forum postings, the Image Mastering API (or IMAPI) does not support this type of…
0
votes
1 answer

IMAPI2 How to to associate the UniqueID with the drive letter

I have the following code: foreach (string uniqueRecorderID in discMaster) { MsftDiscRecorder2 discRecorder2 = new MsftDiscRecorder2(); discRecorder2.InitializeDiscRecorder(uniqueRecorderID); …
sparky
  • 375
  • 6
  • 22
0
votes
1 answer

Get/Read email message and output plain text

On Windows OS using Python 2.7 and Gmail - trying to fetch and read email's body. # Parse the email message msg = email.message_from_string(msg_data[0][1].decode('UTF-8')) # Extract the "FROM" field from_field = msg['FROM'] # Extract the received…
0
votes
0 answers

Dispose and Flush method in MsftFileSystemImage (Powershell script)

I found a Powershell Script that burn the Zip File from one location $Path = "C:\temp\test.zip" to CD ROM. The script program work fine. I try to enchance the program by delete the zip file in the $Path after the script complete but run into…
Big Ticket
  • 503
  • 3
  • 5
  • 17