Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MonitorMedia method sets monitoring for a given media type on the current call. This method enables and disables the detection of media types (modes) on the specified call. When a media type is detected, a message is sent to the application. For more information, see lineMonitorMedia.
Syntax
HRESULT MonitorMedia(
[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 lMediaType parameter is not valid. |
|
The associated call object 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 |