|Microsoft DirectX 9.0|
The SetPointer method sets the pointer to the media sample's memory buffer.
HRESULT SetPointer( BYTE *pBuffer, long lSize );
[in] Pointer to a memory buffer allocated by the caller, or NULL.
[in] Size of the buffer, in bytes.
Returns one of the following values.
If the value of the pBuffer parameter is NULL, the method allocates a memory block, with a size in bytes equal to the value of the lSize parameter. There is no guarantee that the memory has been initialized.