ITAMMediaFormat::get_MediaFormat method (tapi3.h)

The get_MediaFormat method gets the media format.

Syntax

HRESULT get_MediaFormat(
  [out] AM_MEDIA_TYPE **ppmt
);

Parameters

[out] ppmt

Pointer to an array of AM_MEDIA_TYPE structures. For more information on AM_MEDIA_TYPE, see the DirectX documentation.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Requirements

Requirement Value
Target Platform Windows
Header tapi3.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITAMMediaFormat

Terminal Object

put_MediaFormat