Platform SDK: TAPI

ITLegacyCallMediaControl::SetMediaType

Sets the media type for call.

HRESULT SetMediaType(
  long lMediaType
);

Parameters

lMediaType
[in] Indicator of media type.

Return Values

Value Meaning
S_OK Method succeeded.
E_FAIL The associated call object is not valid.
E_INVALIDARG The lMediaType parameter is not valid.
E_NOTIMPL Method not implemented.
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

ITLegacyCallMediaControl, ITLegacyAddressMediaControl