Platform SDK: TAPI |
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 );