Retrieves a value indicating whether the tray is set to auto eject.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_get_AutoEject(pDVDBurner, pVal) |
| C++ | HRESULT get_AutoEject(pVal) |
Pointer to an ILTDVDBurner interface.
Pointer to a variable to be updated with a value indicating whether the tray is set to auto eject after burning completes. Possible values are:
| Value | Meaning |
|---|---|
| VARIANT_TRUE | The tray will be ejected immediately after the burn operation. This is the default value. |
| VARIANT_FALSE | The tray will remain closed after the burn operation. |
| Value | Meaning |
|---|---|
| S_OK | The function was successful. |
| <> S_OK | An error occurred. Refer to the Error Codes. |
Win32, x64
For a C example, refer to ILTDVDBurner::get_AutoEject Example for C.
For a C++ example, refer to ILTDVDBurner::get_AutoEject Example for C++.