Microsoft Windows CE 3.0  

CMemAllocator::Alloc

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Allocates a media sample object.

HRESULT Alloc(void);

Return Values

Returns an HRESULTvalue.

Remarks

This member function instantiates CMediaSampleobjects, adds them to the m_lFreedata members, and updates the m_lAllocatedcount. This member function is called from IMemAllocator::Commitwhen becoming active.