Platform SDK: TAPI

CMSPCallBase::CreateStreamObject

This method is called by InternalCreateStream. The derived class should CreateInstance on its stream object, do an ATL 2.1 _InternalQueryInterface to obtain an ITStream pointer from the stream object, and call the stream object's Init method (on the stream object pointer, not the ITStream pointer).

virtual HRESULT CreateStreamObject (
  DWORD dwMediaType,
  TERMINAL_DIRECTION Direction,
  IMediaEvent *pGraph,
  ITStream **ppStream
) = 0;

Parameters

dwMediaType
Media type of stream to be created.
Direction
Direction of stream.
pGraph
Pointer to DirectShow IMediaEvent interface.
ppStream
Pointer to ITStream interface.

See Also

CMSPCallBase