Microsoft Windows CE 3.0  

CMediaSample::GetPointer

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves a read/write pointer to the buffer's memory.

HRESULT GetPointer(
BYTE** 
ppBuffer
);

Parameters

ppBuffer
Retrieved pointer to the buffer.

Return Values

Returns VFW_E_BUFFER_NOTSETif CMediaSample::SetPointerwas not called before calling this function, or NOERROR otherwise.

Remarks

This member function implements the IMediaSample::GetPointermethod. GetPointerreturns the value of m_pBuffer, set using CMediaSample::SetPointer.