ITStream::get_MediaType method (tapi3if.h)

The get_MediaType method gets the stream's media type.

Syntax

HRESULT get_MediaType(
  [out] long *plMediaType
);

Parameters

[out] plMediaType

Pointer to media type descriptor.

Return value

This method can return one of these 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

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

ITStream

Media Service Provider Interface (MSPI)