ltmmMediaSample.Buffer Property

Visual Basic example

Syntax

object.Buffer As ltmmMediaSample

Remarks

(Read-only). Gets the reference for direct access to the sample buffer.

The returned array allows direct read/write access to the sample buffer for in-process clients only (which is the typical case). Out-of-process clients should treat the returned array as read-only and should call the ltmmMediaSample.SetData method to write to the buffer.

Platforms

Win32, x64

See Also

Elements:

ltmmMediaSample.ActualDataLength Property, ltmmMediaSample.BufferSize Property, ltmmMediaSample.Discontinuity Property, ltmmMediaSample.Preroll Property, ltmmMediaSample.SyncPoint Property, ltmmMediaSample.GetData Method, 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