Alejandro Acuña
2024-10-22 9214c4e5cec380dc263034f9a0e5a10f0dc1ebac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// 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)