ITMediaSupport::get_MediaTypes method (tapi3if.h)

The get_MediaTypes method gets the media type or types supported on the current address.

Syntax

HRESULT get_MediaTypes(
  [out] long *plMediaTypes
);

Parameters

[out] plMediaTypes

Pointer to bitmask of ORed of media type.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_POINTER
The plMediaTypes 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)
Library Uuid.lib
DLL Tapi3.dll

See also

Address Object

ITMediaSupport