ITLegacyCallMediaControl::SetMediaType method (tapi3if.h)
The SetMediaType method sets the media type(s) for the current call in its LINECALLINFO structure. For more information, see lineSetMediaMode.
Syntax
HRESULT SetMediaType(
[in] long lMediaType
);
Parameters
[in] lMediaType
Indicator of media type.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The associated call object is not valid. |
|
The lMediaType parameter is not valid. |
|
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 |