This article describes the Microsoft® DirectShow® multimedia streaming data types.
| Data type | Description |
|---|---|
| MSPID | Media stream purpose IDs define the purpose of a media stream. You declare a purpose ID as a GUID with a typedef. |
| STREAM_STATE | Describes the state of the stream. |
| STREAM_TIME | Stream time measured in 100-nanosecond increments. This type is defined to be a 64-bit integer (LONGLONG). |
| STREAM_TYPE | Defines the direction of data flow for the stream. |
Describes the state of the stream.
Syntax
typedef enum {
STREAMSTATE_STOP = 0,
STREAMSTATE_RUN = 1
} STREAM_STATE;
Elements
- STREAMSTATE_STOP
- Stop state.
- STREAMSTATE_RUN
- Run state.
Remarks
Change the state by calling the IMultiMediaStream::SetState method.
Defines the direction of data flow for the stream.
Syntax
typedef enum {
STREAMTYPE_READ = 0,
STREAMTYPE_WRITE = 1,
STREAMTYPE_TRANSFORM = 2
} STREAM_TYPE;
Elements
- STREAMTYPE_READ
- Application can read the stream.
- STREAMTYPE_WRITE
- Application can write to the stream.
- STREAMTYPE_TRANSFORM
- Application reads and writes to the stream.
Remarks
Transform streams are read/write where the sample is updated in place.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.