IDVDROM

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.

Programming element 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 reference identifier.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

DVD-Video API Interfaces

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.