Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Creates a default memory allocator.
To provide your own allocator, or to provide no allocator, overrride this.
Syntax
virtual HRESULT InitAllocator(
IMemAllocator** ppAlloc
);
Parameters
- ppAlloc
Returned memory allocator.
Return Value
Returns an HRESULT value.
Remarks
The allocator should be released after use.
This is typically handled in the CBaseOutputPin::BreakConnect member function.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |