Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

ILTDVDBurner::put_AutoEject

Show in webframe

#include "ILTDVDBurner2.h"

C Syntax

HRESULT LTDVDBurner_put_AutoEject(pDVDBurner, newVal)

C++ Syntax

HRESULT put_AutoEject(newVal)

 

ILTDVDBurner *pDVDBurner;

/* pointer to an interface */

VARIANT_BOOL newVal;

/* flag */

Changes the auto ejecting state.

Parameter

Description

pDVDBurner

Pointer to an ILTDVDBurner interface.

newVal

Flag that indicates the new value of the auto ejecting state. Possible values are:

 

Value

Meaning

 

VARIANT_TRUE

Eject the tray immediately after the completion of the burn operation. This is the default value.

 

VARIANT_FALSE

Keep the tray closed after the completion of the burn operation.

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.

Comments

It is recommended you use AutoEject because some disk drives will not recognize data from the disk unless you eject the disk and put it back it. If you do not eject the disk and try to look at the contents of the disk after the burning completes, the computer might think the disk is empty when it reality it contains some data. This behavior varies from one drive to another. So the safest approach is to force a disk ejection after you burn data to a disk.

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::get_AutoEject

Topics:

Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups

Example

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

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.