Microsoft DirectX 8.1 (C++) |
Retrieves the capabilities of a media stream that matches the specified media type.
Syntax
HRESULT GetInformation(
DWORD *pdwFlags,
STREAM_TYPE *pStreamType
);
Parameters
pdwFlags
[out] Pointer to a value that will contain a combination of one or more of the following flags. Can be NULL.
Value | Description |
MMSSF_ASYNCHRONOUS | The stream supports asynchronous sample updates. All implementations of IMultiMediaStream will support the asynchronous updates; this flag confirms it. |
MMSSF_HASCLOCK | The stream has a clock. |
MMSSF_SUPPORTSEEK | The stream supports seeking. |
pStreamType
[out] Pointer to a STREAM_TYPE enumeration type that will contain the media type information for the derived media streams. Can be NULL.
Return Value
Returns an HRESULT value.
Remarks
A stream's capabilities include whether it has a clock, if it supports seeking, and whether it supports asynchronous updating.
See Also