MemBufferCollection::getBuffer Method |
||||||||||||||
Returns a smart_ptr to the MemBuffer with the specified index. This method returns 0, if the MemBufferCollection is not initialized or the given index is greater than the number of contained buffers (see MemBufferCollection::getBufferCount ). | ||||||||||||||
Syntax: | Grabber::tMemBufferPtr getBuffer( DWORD pos ) const; |
|||||||||||||
|
||||||||||||||
Return value: | A pointer to the MemBuffer, or 0 on error. |
|||||||||||||
Remarks: | Returns 0, if the MemBufferCollection is not initialized or if the given index is greater than the number of contained buffers (see MemBufferCollection::getBufferCount ). |
|||||||||||||
See also: | MemBufferCollection, MemBufferCollection::getBufferCount |