// Created by Microsoft (R) C/C++ Compiler Version 10.00.30319.01 (414b6517).
|
//
|
// x:\artic3\applications\sosserver\winrtp\winrtp\testwinrtp\debug\ccnsmt.tlh
|
//
|
// C++ source equivalent of Win32 type library ../CCNMediaTerm/CCNSMT/CCNSMT.tlb
|
// compiler-generated file created 04/23/20 at 21:40:29 - DO NOT EDIT!
|
|
#pragma once
|
#pragma pack(push, 8)
|
|
#include <comdef.h>
|
|
//
|
// Forward references and typedefs
|
//
|
|
struct __declspec(uuid("94221c40-00f1-11d4-9d59-0060b0fc246c"))
|
/* LIBID */ __CCNSMTLib;
|
struct /* coclass */ CCNMediaTerm;
|
struct __declspec(uuid("94221c4d-00f1-11d4-9d59-0060b0fc246c"))
|
/* interface */ ICCNMediaTerm;
|
struct __declspec(uuid("94221c4f-00f1-11d4-9d59-0060b0fc246c"))
|
/* interface */ _ICCNMediaTermEvents;
|
|
//
|
// Smart pointer typedef declarations
|
//
|
|
_COM_SMARTPTR_TYPEDEF(ICCNMediaTerm, __uuidof(ICCNMediaTerm));
|
_COM_SMARTPTR_TYPEDEF(_ICCNMediaTermEvents, __uuidof(_ICCNMediaTermEvents));
|
|
//
|
// Type library items
|
//
|
|
struct __declspec(uuid("94221c4e-00f1-11d4-9d59-0060b0fc246c"))
|
CCNMediaTerm;
|
// [ default ] interface ICCNMediaTerm
|
// [ default, source ] interface _ICCNMediaTermEvents
|
|
struct __declspec(uuid("94221c4d-00f1-11d4-9d59-0060b0fc246c"))
|
ICCNMediaTerm : IUnknown
|
{
|
//
|
// Raw methods provided by interface
|
//
|
|
virtual HRESULT __stdcall Initialize ( ) = 0;
|
virtual HRESULT __stdcall UnInitialize ( ) = 0;
|
virtual HRESULT __stdcall StartMicrophone ( ) = 0;
|
virtual HRESULT __stdcall StopMicrophone ( ) = 0;
|
virtual HRESULT __stdcall StartAudioReceive ( ) = 0;
|
virtual HRESULT __stdcall StopAudioReceive ( ) = 0;
|
virtual HRESULT __stdcall StopDtmfTone ( ) = 0;
|
virtual HRESULT __stdcall SetAudioCodecRX (
|
/*[in]*/ long CompressionType,
|
/*[in]*/ long MillisecPacketSize,
|
/*[in]*/ long EchoCancellationValue,
|
/*[in]*/ long G723BitRate ) = 0;
|
virtual HRESULT __stdcall SetAudioCodecTX (
|
/*[in]*/ long CompressionType,
|
/*[in]*/ long MillisecPacketSize,
|
/*[in]*/ long PrecedenceValue,
|
/*[in]*/ long SilenceSuppression,
|
/*[in]*/ unsigned short MaxFramesPerPacket,
|
/*[in]*/ long G723BitRate ) = 0;
|
virtual HRESULT __stdcall SetAudioDestination (
|
/*[in]*/ BSTR strHostName,
|
/*[in]*/ long nUDPortNumber ) = 0;
|
virtual HRESULT __stdcall SetAudioReceivePort (
|
/*[in]*/ long nUDPPortNumber ) = 0;
|
virtual HRESULT __stdcall StartDtmfTone (
|
/*[in]*/ long cToneAsChar,
|
/*[in]*/ long OnTime,
|
/*[in]*/ long OffTime ) = 0;
|
virtual HRESULT __stdcall StartPlayingFileTX (
|
/*[in]*/ BSTR Filename,
|
/*[in]*/ unsigned long Mode,
|
/*[in]*/ unsigned long volume,
|
/*[in,out]*/ long * Cookie ) = 0;
|
virtual HRESULT __stdcall StartPlayingFileRX (
|
/*[in]*/ BSTR Filename,
|
/*[in]*/ unsigned long Mode,
|
/*[in]*/ unsigned long waveoutDeviceID,
|
/*[in]*/ unsigned long volume,
|
/*[in,out]*/ long * Cookie ) = 0;
|
virtual HRESULT __stdcall StopPlayingFileTX (
|
/*[in]*/ unsigned long Cookie ) = 0;
|
virtual HRESULT __stdcall StopPlayingFileRX (
|
/*[in]*/ unsigned long Cookie ) = 0;
|
virtual HRESULT __stdcall StartTX (
|
/*[in]*/ unsigned long waveinDeviceID ) = 0;
|
virtual HRESULT __stdcall StopTX ( ) = 0;
|
virtual HRESULT __stdcall StartRX (
|
/*[in]*/ unsigned long waveoutDeviceID ) = 0;
|
virtual HRESULT __stdcall StopRX ( ) = 0;
|
virtual HRESULT __stdcall SetSpeakerVolume (
|
/*[in]*/ unsigned long deviceID,
|
/*[in]*/ unsigned long volume ) = 0;
|
virtual HRESULT __stdcall SetMicrophoneVolume (
|
/*[in]*/ unsigned long deviceID,
|
/*[in]*/ unsigned long volume ) = 0;
|
virtual HRESULT __stdcall SetFilePlayVolume (
|
/*[in]*/ unsigned long Cookie,
|
/*[in]*/ unsigned long volume ) = 0;
|
virtual HRESULT __stdcall NetworkMonitor (
|
/*[in]*/ unsigned long Enable,
|
/*[in]*/ unsigned long DurationMillisec ) = 0;
|
};
|
|
struct __declspec(uuid("94221c4f-00f1-11d4-9d59-0060b0fc246c"))
|
_ICCNMediaTermEvents : IUnknown
|
{
|
//
|
// Raw methods provided by interface
|
//
|
|
virtual HRESULT __stdcall EndOfFileEventRX (
|
/*[in]*/ long Cookie ) = 0;
|
virtual HRESULT __stdcall EndOfFileEventTX (
|
/*[in]*/ long Cookie ) = 0;
|
virtual HRESULT __stdcall NetworkMonitorEventRX (
|
/*[in]*/ double RXMean,
|
/*[in]*/ double RXVariance ) = 0;
|
virtual HRESULT __stdcall NetworkMonitorEventTX (
|
/*[in]*/ double TXMean,
|
/*[in]*/ double TXVariance ) = 0;
|
};
|
|
#pragma pack(pop)
|