ITAllocatorProperties::SetAllocateBuffers method (tapi3ds.h)

The SetAllocateBuffers method determines whether the current allocator buffers must be set. This property is TRUE by default. If set FALSE, the sample that the MST allocated doesn't have any buffers and they must be supplied before Update is called on the samples.

Syntax

HRESULT SetAllocateBuffers(
  [in] BOOL bAllocBuffers
);

Parameters

[in] bAllocBuffers

Boolean indicator of whether allocator buffers must be set.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an error value.

Requirements

   
Target Platform Windows
Header tapi3ds.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITAllocatorProperties