ILTDVDBurner::EjectDisc

#include "ILTDVDBurner2.h"

C Syntax

HRESULT LTDVDBurner_EjectDisc(pDVDBurner)

C++ Syntax

HRESULT EjectDisc()

 

ILTDVDBurner *pDVDBurner;

/* pointer to an interface */

Opens the CD or DVD tray.

Parameter

Description

pDVDBurner

Pointer to an ILTDVDBurner interface.

Returns

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.

Required DLLs and Libraries

LTDVDBRN
DSKernel

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

ILTDVDBurner::EjectDisc, ILTDVDBurner::LoadDisc

Topics:

Multimedia Function Group, How to use the DVD Burner to burn ISO  files and DVD images, Video Streaming Function Groups, DVD Function Groups

Example

For a C example, refer to ILTDVDBurner::EjectDisc Example for C.

For a C++ example, refer to ILTDVDBurner::EjectDisc Example for C++.