Skip to main content
IWMReaderAllocatorEx interface

The IWMReaderAllocatorEx interface provides expanded alternatives to the AllocateForOutput and AllocateForStream methods of the IWMReaderCallbackAdvanced interface. This interface is implemented by the application, which passes this interface pointer to the synchronous reader object by calling IWMSyncReader2::SetAllocateForStream or SetAllocateForOutput.

Members

The IWMReaderAllocatorEx interface inherits from the IUnknown interface. IWMReaderAllocatorEx also has these types of members:

Methods

The IWMReaderAllocatorEx interface has these methods.

MethodDescription
AllocateForOutputEx

Allocates a buffer for samples delivered to the IWMReaderCallback::OnSample method.

AllocateForStreamEx

Allocates a buffer for samples delivered to the IWMReaderCallbackAdvanced::OnStreamSample method.

 

See also

Allocating Buffers for File Reading
Interfaces
IWMReaderAdvanced Interface
IWMReaderCallback Interface
Reader Object