Share via


IDVDROM::ReadVTSI (Windows Embedded CE 6.0)

1/6/2010

This method returns the video title set information (VTSI). This method is used internally by the DVD-Video API and is not generally used by applications.

Syntax

HRESULT ReadVTSI
  UINT16 zbVTSN,
  UINT32* length,
  UINT8** bufPtr 
);

Parameters

  • zbVTSN
    [in] The zero-based index of the VTSI you want to retrieve.
  • length
    [out] Contains the length of the VTSI if the call succeeds.
  • bufPtr
    [out] Contains the VTSI if the call succeeds.

Return Value

If the function succeeds, the return value is S_OK.

If the method fails, the return value may be one of the following error values.

Error value Description

E_FAIL

The method failed.

E_HANDLE

The method encountered an invalid handle.

E_UNEXPECTED

The method encountered an unexpected error.

E_OUTOFMEMORY

There was not enough memory available for the operation.

Remarks

A call to IDVDROM::ReleaseMem, passing bufptr, must be made to free the memory allocated by IDVDROM::ReadVTSI when the VTSI is no longer needed.

Requirements

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

See Also

Reference

IDVDROM
IDVDROM::ReleaseMem