IMFTimedTextCue::GetLine method (mfmediaengine.h)
Gets a line of text in the cue from the index of the line.
Syntax
HRESULT GetLine(
[in] DWORD index,
[out] IMFTimedTextFormattedText **line
);
Parameters
[in] index
Type: DWORD
The index of the line of text in the cue to retrieve.
[out] line
Type: IMFTimedTextFormattedText**
A pointer to a memory block that receives a pointer to the IMFTimedTextFormattedText interface for the line of text in the cue.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | mfmediaengine.h |