Share via


CMediaSample::GetPointer

 
Microsoft DirectShow 9.0

CMediaSample::GetPointer

The GetPointer method retrieves a read/write pointer to the buffer. This method implements the IMediaSample::GetPointer method.

Syntax

  HRESULT GetPointer(
    BYTE **ppBuffer
);

Parameters

ppBuffer

Address of a variable that receives a pointer to the buffer.

Return Value

Returns S_OK.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also