Microsoft DirectX 9.0 |
Note The IDvdControl interface is deprecated. Use IDvdControl2 instread.
Plays the media file with the specified title index, starting at the specified time.
Syntax
HRESULT TimePlay(
ULONG uiTitle,
ULONG bcdTime
);
Parameters
uiTitle
Value that specifies the title number DirectShow will play back; this value must be from 1 through 99.
bcdTime
Pointer to the DVD_TIMECODE structure where DirectShow will start playback.
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