Opens the CD or DVD tray.
#include "ILTDVDBurner2.h"
| Platform | Syntax |
|---|---|
| C | HRESULT ILTDVDBurner_EjectDisc(pDVDBurner) |
| C++ | HRESULT EjectDisc() |
Pointer to an ILTDVDBurner interface.
| 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::EjectDisc Example for C.
For a C++ example, refer to ILTDVDBurner::EjectDisc Example for C++.