CBaseAllocator.GetProperties method

The GetProperties method retrieves the number of buffers that the allocator will create, and the buffer properties. This method implements the IMemAllocator::GetProperties method.

Syntax


HRESULT GetProperties(
   ALLOCATOR_PROPERTIES *pProps
);

Parameters

pProps

Pointer to an ALLOCATOR_PROPERTIES structure that receives the allocator properties.

Return value

Returns S_OK.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseAllocator Class

 

 

Show: