ILTDVDBurner::get_Ejectable

#include "ILTDVDBurner2.h"

C Syntax

HRESULT LTDVDBurner__get_Ejectable(pDVDBurner, pVal)

C++ Syntax

HRESULT get_Ejectable(pVal)

 

ILTDVDBurner *pDVDBurner;

/* pointer to an interface */

VARIANT_BOOL *pVal;

/* pointer to a variable */

Retrieves a value that indicates whether the disc can be ejected at the current time.

Parameter

Description

pDVDBurner

Pointer to an ILTDVDBurner interface.

pVal

Pointer to a variable to be updated with a value that indicates whether the disc can be ejected at the current time. Possible values are:

 

Value

Meaning

 

VARIANT_TRUE

The disc can be safely ejected.

 

VARIANT_FALSE

The disc cannot be ejected; an operation might be in progress.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes.

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.

Platforms

Win32, x64

See Also

Functions:

ILTDVDBurner::EjectDisc

Topics:

How to use the DVD Burner to burn ISO files and DVD images, Functions

Example

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

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