CMSPCallBase::CreateStreamObject method (mspcall.h)
The CreateStreamObject method is called by InternalCreateStream. The derived class should CreateInstance on its stream object, do an ATL _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).
Syntax
HRESULT CreateStreamObject(
DWORD dwMediaType,
TERMINAL_DIRECTION Direction,
IMediaEvent *pGraph,
ITStream **ppStream
);
Parameters
dwMediaType
Media type of stream to be created.
Direction
Direction of stream.
pGraph
Pointer to DirectShow IMediaEvent interface.
ppStream
Pointer to ITStream interface.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mspcall.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for