IDvdInfo::GetDVDTextInfo method (strmif.h)

Note  The IDvdInfo interface is deprecated. Use IDvdInfo2 instead.
 
Retrieves the TXTDT_MG structure, which can contain text descriptions for title name, volume name, producer name, vocalist name, and so on, in various languages.

Syntax

HRESULT GetDVDTextInfo(
  [out] BYTE  *pTextManager,
  [in]  ULONG ulBufSize,
  [out] ULONG *pulActualSize
);

Parameters

[out] pTextManager

Pointer to the retrieved text manager.

[in] ulBufSize

Size of the buffer for pTextManager, in bytes.

[out] pulActualSize

Pointer to a value containing the number of bytes of data returned.

Return value

Returns an HRESULT value .

Return code Description
E_UNEXPECTED
DVD is not initialized or domain is not DVD_DOMAIN_Title.
S_OK
Success.
VFW_E_DVD_INVALIDDOMAIN
Requested action is not supported on this domain (DVD_DOMAIN).
VFW_E_DVD_OPERATION_INHIBITED
Requested action cannot occur at this point in the movie due to the authoring of the current DVD-Video disc.

Remarks

This method is valid in any domain. For more information, see DVD_DOMAIN.

If the supplied buffer size in cbBufSize is too small for the data, (for example if cbBufSize equals zero), then this method returns E_OUTOFMEMORY and sets the value pointed to by pcbActualSize to the required size.

For more information, refer to Section 4.1.6 and Annex A of the DVD-Video specification.

Requirements

   
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

Error and Success Codes

IDvdInfo Interface