Microsoft DirectX 8.1 (C++)

IDvdControl::TitlePlay

Note   The IDvdControl interface is deprecated.

Finds the media file with the specified title index and plays it back.

Syntax

HRESULT TitlePlay(
    ULONG uiTitle
);

Parameters

uiTitle

Value that specifies the title number DirectShow will play back; this value must be from 1 through 99.

Return Value

Returns an HRESULT value .

Remarks

This method returns an error unless the domain is DVD_DOMAIN_VideoManagerMenu, DVD_DOMAIN_VideoTitleSetMenu, DVD_DOMAIN_Title, or DVD_DOMAIN_Stop. For more information, see DVD_DOMAIN.

See Also