CMediaSample.GetPointer method

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

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaSample Class

 

 

Show: