createFrameQueueBuffer Method |
||||||||||||||||||||||||||||||||
Creates a single or multiple FrameQueueBuffer objects, matching the passed in FrameTypeInfo or the frame type of the passed sink. | ||||||||||||||||||||||||||||||||
Syntax: | Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameTypeInfo& type, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferList& rval, const FrameTypeInfo& type, size_t count, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameTypeInfo& type, BYTE* dataPointer, size_t dataSize, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameSnapSink& sink, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferList& rval, const FrameSnapSink& sink, size_t count, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameSnapSink& sink, BYTE* dataPointer, size_t dataSize, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameQueueSink& sink, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferList& rval, const FrameQueueSink& sink, size_t count, void* userPtr = nullptr ); Error createFrameQueueBuffer( tFrameQueueBufferPtr& rval, const FrameQueueSink& sink, BYTE* dataPointer, size_t dataSize, void* userPtr = nullptr ); |
|||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Return value: | This method returns an error object. If successful, it is set to eNOERROR. If the system cannot allocate enough memory, it is set to eOUT_OF_MEMORY. |
|||||||||||||||||||||||||||||||
Information: | Namespace: DShowLib | |||||||||||||||||||||||||||||||
See also: | FrameQueueBuffer, tFrameQueueBufferPtr, tFrameQueueBufferList, FrameTypeInfo, Error |