Compartilhar via


CBaseAllocator::GetProperties (Compact 2013)

3/26/2014

Retrieves the size, number, and alignment of blocks.

Syntax

HRESULT GetProperties(
  ALLOCATOR_PROPERTIES* pProps
);

Parameters

  • pProps
    Structure to be filled in with allocator properties.

Return Value

Returns an HRESULT value. The default implementation returns NOERROR.

Remarks

This member function implements the IMemAllocator::GetProperties method.

The default implementation fills the ALLOCATOR_PROPERTIES structure passed in with the values of m_lSize, m_lCount, m_lAlignment, and m_lPrefix.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseAllocator Class