This section describes the Microsoft® DirectShow™ multimedia streaming data types.
Data type | Description |
STREAM_TIME | Stream time measured in 100-nanosecond increments. This type is defined to be a 64-bit integer. |
MSPID | Media stream purpose IDs define the purpose of a media stream. A purpose ID is simply a GUID. |
STREAM_TYPE | Defines the direction of data flow for the stream. |
STREAM_STATE | Describes the state of the stream. |
Defines the direction of data flow for the stream.
typedef enum { STREAMTYPE_READ = 0, STREAMTYPE_WRITE = 1, STREAMTYPE_TRANSFORM= 2 } STREAM_TYPE;
Transform streams are read/write where the sample is updated in place.
Describes the state of the stream.
typedef enum { STREAMSTATE_STOP = 0, STREAMSTATE_RUN = 1 } STREAM_STATE;
The state is controlled by calling the IMultiMediaStream::SetState method.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.