IMediaObjectImpl.InternalGetOutputSizeInfo Method

IMediaObjectImpl

An NDoc Documented Class Library

IMediaObjectImpl.InternalGetOutputSizeInfo Method 

(Abstract) Determine the requirements for the output stream

protected abstract int InternalGetOutputSizeInfo(
   int dwOutputStreamIndex,
   out int pcbSize,
   out int pcbAlignment
);

Parameters

dwOutputStreamIndex
Output stream number
pcbSize
The minimum size of an output buffer for this stream, in bytes
pcbAlignment
The required buffer alignment, in bytes. If the output stream has no alignment requirement, the value is 1.

Return Value

S_OK to indicate successful operation.

Remarks

This method is called by the abstract class. You should never return zero for the alignment.

See Also

IMediaObjectImpl Class | MediaObjectTemplate Namespace