Platform SDK: TAPI

ITStream::get_MediaType

Gets the stream's media type.

HRESULT get_MediaType(
  long *plMediaType
);

Parameters

plMediaType
[out, retval] Pointer to media type descriptor.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The plMediaType parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

Media Service Provider Interface (MSPI), ITStream