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. |
Negotiates an allocator to use with the asynchronous reader.
virtual HRESULT DecideAllocator( ImemAllocator * pAlloc, ALLOCATOR_PROPERTIES * pProps );
Parameters
Return Values
Returns S_OK if successful, VFW_E_BADALIGN if ePropscontains an invalid alignment property, E_OUTOFMEMORY if there is not enough memory available to create an allocator, and E_NOINTERFACE if the created IMemAllocatorinterface is invalid.
Remarks
This member function calls the IAsyncReader::RequestAllocatormethod to negotiate an allocator.