Microsoft DirectX 8.1 (C++) |
The NotifyAllocator method notifies the draw object which allocator the output pin is going to use.
Syntax
void NotifyAllocator(
BOOL bUsingImageAllocator
);
Parameters
bUsingImageAllocator
Flag that specifies whether to use a CImageAllocator object allocator. For more information, see Remarks.
Return Value
No return value.
Remarks
This member function tells the draw object whose allocator to use. This should be called with TRUE if the filter agrees to use an allocator based around the Microsoft® DirectShow® CImageAllocator base class. These image buffers are made through CreateDIBSection. Otherwise this should be called with FALSE, and the images will be drawn using SetDIBitsToDevice and StretchDIBits.
See Also