Microsoft DirectX 8.1 (C++)

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.

See Also