ltmmMediaSample.GetData Method

Visual Basic example

Syntax

object.GetData(DataSize As Long) As Variant

Remarks

Retrieves a copy of the actual data in the buffer.

If the method fails, an error is raised. For more information, refer to the Error Codes.

Platforms

Win32, x64

See Also

Elements:

ltmmMediaSample.ActualDataLength Property, ltmmMediaSample.Buffer Property, ltmmMediaSample.BufferSize Property, ltmmMediaSample.Discontinuity Property, ltmmMediaSample.Preroll Property, ltmmMediaSample.SyncPoint Property, ltmmMediaSample.GetMediaType Method, ltmmMediaSample.GetMediaTime Method, ltmmMediaSample.GetTime Method, ltmmMediaSample.ResetMediaTime Method, ltmmMediaSample.ResetTime Method, ltmmMediaSample.SetData Method, ltmmMediaSample.SetMediaTime Method, ltmmMediaSample.SetTime Method, ltmmMediaSample.SetMediaType Method

Topics:

ltmmMediaSample object