Platform SDK: TAPI

ITMediaSupport::get_MediaTypes

Gets the media type or types supported on the current address.

HRESULT get_MediaTypes(
  long *plMediaTypes
);

Parameters

plMediaTypes
[out, retval] Pointer to bitmask of ORed of media type.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The plMediaTypes 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

ITMediaSupport, Address Object