Platform SDK: TAPI

CMSPCallMultiGraph::InternalCreateStream

This method is called by CreateStream to create a stream object (the caller does the argument checking). It creates and initializes the stream object (using CreateStreamObject). It uses CoCreateInstance to create a filter graph for the stream. It calls RegisterWaitEvent (see above) to start waiting for events on the filter graph. It adds the stream into the call object's list of stream objects. It addrefs the stream pointer and returns it.

virtual HRESULT InternalCreateStream (
  DWORD dwMediaType,
  TERMINAL_DIRECTION Direction,
  ITStream **ppStream
);

Parameters

dwMediaType
Descriptor of media type for stream.
Direction
Descriptor of terminal direction.
ppStream
Pointer to array of ITStream interfaces.

See Also

CMSPCallMultiGraph