Microsoft Windows CE 3.0  

CBaseOutputPin::InitAllocator

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.

Creates a default memory allocator. Override this to provide your own allocator or to provide no allocator.

virtual HRESULT InitAllocator(
IMemAllocator **
ppAlloc
);

Parameters

ppAlloc
Returned memory allocator.

Return Values

Returns an HRESULTvalue.

Remarks

The allocator should be released after use. This is typically handled in the CBaseOutputPin::BreakConnectmember function.