Microsoft DirectX 9.0


The GetInformation method retrieves the capabilities of the multimedia stream object.


HRESULT GetInformation(
  DWORD *pdwFlags,
  STREAM_TYPE *pStreamType



[out] Pointer to a variable that receives a bitwise combination of the following flags.

Value Description
MMSSF_ASYNCHRONOUS The object supports asynchronous sample updates. This flag is always returned.
MMSSF_HASCLOCK The object has a clock.
MMSSF_SUPPORTSEEK The object supports seeking.

This parameter can be NULL.


[out] Pointer to a variable that receives a member of the STREAM_TYPE enumeration. This value indicates whether the multimedia stream is read-only, write-only, or read/write. This parameter can be NULL.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_UNEXPECTED Unexpected error.
S_OK Success.

See Also