CMSPCallMultiGraph::InternalCreateStream method (mspcall.h)
The InternalCreateStream 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 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.
Syntax
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.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mspcall.h |