Поделиться через


IDVDROM (Windows Embedded CE 6.0)

1/6/2010

This interface allows applications to gain access to the DVD ROM device and get the root DVD-Video information.

This interface is primarily used internally within the DVD-Video API to support the navigation manager. It is intended to isolate the DVD-Video API middleware objects from the actual DVD device being used. Except for Bind and Unbind, application programmers will generally not need to use the methods exposed by IDVDROM.

The following table lists the methods for IDVDROM in the order the compiler calls them.

Method Description

Bind

Saves the path to the root of the DVD ROM.

Unbind

Clears the path saved by IDVDROM::Bind.

ReadVMGI

Returns the video manager information (VMGI).

ReadVTSI

Returns the video title set information (VTSI).

ReleaseMem

Frees the memory allocated by the IDVDROM::ReadVMGI and IDVDROM::ReadVTSI methods.

OpenVOB

Opens the video object (VOB) for the requested video title set number (VTSN).

ReadVOB

Reads the video object (VOB) for the requested video title set number (VTSN).

CloseVOB

Closes the video object (VOB).

The IDVDROM interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

Remarks

You can obtain a pointer to an IDVDROM interface by calling the IUnknown::QueryInterface method of a DVDData object and specifying the IID_IDVDROM interface identifier, see DVD-Video API Interface Identifiers.

Requirements

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

DVD-Video API Interfaces