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 (Multimedia toolkit)  or LTKRN (Imaging Pro, Document, or Medical toolkits)

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:

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

 

 

Example

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

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