Microsoft DirectX 8.1 (C++)

IPinInfo::get_MediaTypes

The get_MediaTypes method retrieves an IAMCollection interface providing access to the preferred media types supported by this pin.

Syntax

HRESULT get_MediaTypes(
  IDispatch **ppUnk
);

Parameters

ppUnk

[out, retval] Address of a pointer to the IAMCollection interface containing the preferred media types as IMediaTypeInfo objects.

Return Value

Returns an HRESULT value.

Remarks

This method is essentially an Automation wrapper for the IPin::EnumMediaTypes method.

See Also