Microsoft DirectX 9.0

IMediaSample::GetPointer

The GetPointer method retrieves a read/write pointer to this buffer's memory.

Syntax

HRESULT GetPointer(
  BYTE **ppBuffer
);

Parameters

ppBuffer

[out] Address of a pointer to the buffer.

Return Value

Returns S_OK if successful, or an HRESULT value indicating the cause of the error.