Changes the auto ejecting state.
#include "ILTDVDBurner2.h"
Language | Syntax |
---|---|
C | HRESULT ILTDVDBurner_put_AutoEject(pDVDBurner, newVal) |
C++ | HRESULT put_AutoEject(newVal) |
Pointer to an ILTDVDBurner interface.
Flag that indicates the new value of the auto ejecting state. Possible values are:
Value | Meaning |
---|---|
VARIANT_TRUE | Eject the tray immediately after the completion of the burn operation. This is the default value. |
VARIANT_FALSE | Keep the tray closed after the completion of the burn operation. |
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
It is recommended you use AutoEject because some disk drives will not recognize data from the disk unless you eject the disk and put it back it. If you do not eject the disk and try to look at the contents of the disk after the burning completes, the computer might think the disk is empty when it reality it contains some data. This behavior varies from one drive to another. So the safest approach is to force a disk ejection after you burn data to a disk.
Win32, x64.
Language | Example |
---|---|
C | ILTDVDBurner::get_AutoEject |
C++ | ILTDVDBurner::get_AutoEject |
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