📄 ctc_rpc.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Tue Jun 09 13:56:20 1998
*/
/* Compiler settings for ctc_rpc.idl:
Os (OptLev=s), W1, Zp8, env=Win32
error checks: none
*/
//@@MIDL_FILE_HEADING( )
#include "rpc.h"
#include "rpcndr.h"
#ifndef __ctc_rpc_h__
#define __ctc_rpc_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __ctc_if_INTERFACE_DEFINED__
#define __ctc_if_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: ctc_if
* at Tue Jun 09 13:56:20 1998
* using MIDL 3.01.75
****************************************/
/* [auto_handle][ref][version][uuid] */
#define ctcMaxDnLen ( 24 )
#define ctcLogIdLen ( 16 )
#define ctcProcNameLen ( 16 )
#define ctcNodeNameLen ( 16 )
#define ctcNetLen ( 16 )
#define ctcAppDataLen ( 32 )
#define ctcMaxAccountInfoLen ( 32 )
#define ctcMaxPrivateRawDataLen ( 128 )
#define ctcMaxPrivateDataElements ( 3 )
#define ctcMaxManufacturerLen ( 24 )
#define ctcAlcMaxDateAndTimeLen ( 20 )
#define ctcMlpMaxSegLen ( 50 )
#define ctcMlpUserIdLen ( 32 )
#define ctcMlpPasswordLen ( 10 )
#define ctcMlpFileNameLen ( 16 )
#define ctcMlpMaxKeysLen ( 16 )
#define ctcErcMaxDeviceIDLen ( 12 )
#define ctcMaxHcmAppDataLen ( 32 )
#define ctcMaxHcmAgentIDLen ( 32 )
#define ctcHcmFwdTypeStation ( 1 )
#define ctcHcmFwdTypeSystem ( 2 )
#define ctcHcmMaxFwdsInList ( 10 )
#define ctcM_HcmDgtlAttrDisplay ( 0x80 )
#define ctcM_HcmDgtlAttrSpeaker ( 0x40 )
#define ctcM_HcmDgtlAttrData ( 0x20 )
#define ctcM_HcmDgtlAttrKeypadExp ( 0x10 )
#define ctcM_HcmDgtlAttrISDN ( 0x8 )
#define ctcM_HcmDgtlAttrTermAdptr ( 0x4 )
typedef /* [context_handle] */ void __RPC_FAR *chanCtxt;
typedef /* [string] */ char __RPC_FAR ctcNameString[ 16 ];
typedef /* [string] */ char __RPC_FAR ctcDeviceString[ 24 ];
typedef /* [string] */ char __RPC_FAR ctcLogIdString[ 16 ];
typedef /* [string] */ char __RPC_FAR ctcNetString[ 16 ];
typedef /* [string] */ char __RPC_FAR ctcApplString[ 32 ];
typedef /* [string] */ char __RPC_FAR ctcMlpFileName[ 16 ];
typedef /* [string] */ char __RPC_FAR ctcMlpUserId[ 32 ];
typedef /* [string] */ char __RPC_FAR ctcMlpPassword[ 10 ];
typedef /* [string] */ char __RPC_FAR ctcMlpTermKeys[ 16 ];
typedef /* [string] */ char __RPC_FAR ctcAlcDateAndTimeString[ 20 ];
typedef /* [string] */ char __RPC_FAR ctcManufacturerString[ 24 ];
typedef unsigned char __RPC_FAR ctcAccountInfo[ 32 ];
typedef struct ctcTimeStamp
{
short year;
short month;
short day;
short hour;
short minute;
short second;
short millisec;
short mindiff;
unsigned long utc;
} ctcTimeStamp;
typedef struct ctcAssignData
{
unsigned short deviceType;
unsigned char APIversion;
unsigned char APIextensions;
ctcDeviceString deviceDN;
} ctcAssignData;
typedef struct ctcChanData
{
unsigned long lineType;
unsigned long prime;
unsigned long setType;
unsigned long procedureSupport;
unsigned long attributeSupport;
ctcDeviceString setDN;
unsigned long switchSpecificSupport;
} ctcChanData;
typedef struct ctcEventData
{
unsigned long refId;
unsigned long netCallId;
unsigned long oldRefId;
unsigned long oldNetCallId;
unsigned long state;
unsigned long event;
unsigned long eventQualifier;
unsigned long type;
unsigned long otherPartyType;
unsigned long otherPartyQualifier;
ctcDeviceString otherParty;
unsigned long otherPartyTrunk;
unsigned long otherPartyGroup;
unsigned long thirdPartyType;
unsigned long thirdPartyQualifier;
ctcDeviceString thirdParty;
unsigned long thirdPartyTrunk;
unsigned long thirdPartyGroup;
unsigned long calledPartyType;
unsigned long calledPartyQualifier;
ctcDeviceString calledParty;
unsigned long calledPartyTrunk;
unsigned long calledPartyGroup;
ctcApplString applicationData;
ctcDeviceString monitorParty;
ctcDeviceString nestedMonitorChannel;
unsigned long agentMode;
ctcDeviceString agentId;
ctcDeviceString agentGroup;
ctcDeviceString agentData;
ctcDeviceString logicalAgent;
ctcDeviceString dtmfDigits;
unsigned long originatingPartyType;
unsigned long originatingPartyQualifier;
ctcDeviceString originatingParty;
unsigned long originatingPartyTrunk;
unsigned long originatingPartyGroup;
unsigned long secOldRefId;
unsigned long callsQueued;
ctcAccountInfo accountInfo;
ctcTimeStamp timeStamp;
unsigned long privateData;
} ctcEventData;
typedef struct ctcRouteData
{
unsigned long routeId;
unsigned long refId;
unsigned long spare001;
unsigned long otherPartyType;
ctcDeviceString otherParty;
unsigned long otherPartyTrunk;
unsigned long otherPartyGroup;
unsigned long thirdPartyType;
ctcDeviceString thirdParty;
unsigned long thirdPartyTrunk;
unsigned long thirdPartyGroup;
unsigned long calledPartyType;
ctcDeviceString calledParty;
unsigned long calledPartyTrunk;
unsigned long calledPartyGroup;
ctcApplString applicationData;
ctcDeviceString dtmfDigits;
ctcTimeStamp timeStamp;
unsigned long privateData;
} ctcRouteData;
#define ctcCallDataLen ( 32 )
typedef struct ctcCallData
{
unsigned long refId;
unsigned long state;
} ctcCallData;
typedef struct ctcPrivateDataRaw
{
ctcManufacturerString manufacturer;
unsigned long dataLen;
unsigned char data[ 128 ];
} ctcPrivateDataRaw;
typedef struct ctcAlcAcdWaitingTime
{
unsigned long waitingTime;
unsigned long saturation;
} ctcAlcGetAcdWaitingTime;
typedef struct ctcAlcOther
{
unsigned char identifier[ 2 ];
unsigned long dataLen;
unsigned char data[ 44 ];
} ctcAlcOther;
typedef struct ctcHcmRouteTrigger
{
boolean triggerObjectSpecified;
boolean triggerAction;
ctcDeviceString triggerObject;
} ctcHcmRouteTrigger;
typedef struct ctcHcmAgentState
{
unsigned short agentState;
unsigned short agentIDLen;
unsigned char agentID[ 32 ];
ctcDeviceString agentGroup;
} ctcHcmAgentState;
typedef struct ctcHcmAssociateData
{
unsigned short dataLen;
unsigned char data[ 32 ];
} ctcHcmAssociateData;
typedef /* [public][public][public][public][public][public][public][public][public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0001
{ ctcK_HcmFwdStation = 0,
ctcK_HcmFwdSystem = ctcK_HcmFwdStation + 1
} ctcHcmForwardingType;
typedef struct ctcHcmForwardElement
{
ctcHcmForwardingType hcmFwdType;
unsigned short stationFwdType;
unsigned short systemFwdType;
ctcDeviceString forwardDN;
} ctcHcmForwardElement;
typedef struct ctcHcmSetForwardElement
{
unsigned short setableFwdType;
ctcDeviceString forwardDN;
} ctcHcmSetForwardElement;
typedef struct ctcHcmForwardList
{
unsigned short count;
ctcHcmForwardElement forwards[ 10 ];
} ctcHcmForwardList;
typedef /* [public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0002
{ ctcK_HcmAnlgGeneric = 0,
ctcK_HcmAnlgSet2500 = ctcK_HcmAnlgGeneric + 1
} ctcHcmAnalogTypes;
typedef /* [public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0003
{ ctcK_HcmOthrEquipGeneric = 0,
ctcK_HcmOthrEquipFax = ctcK_HcmOthrEquipGeneric + 1,
ctcK_HcmOthrEquipOffPremise = ctcK_HcmOthrEquipFax + 1,
ctcK_HcmOthrEquipExtVoiceMail = ctcK_HcmOthrEquipOffPremise + 1,
ctcK_HcmOthrEquipFictitious = ctcK_HcmOthrEquipExtVoiceMail + 1,
ctcK_HcmOthrEquipPhantom = ctcK_HcmOthrEquipFictitious + 1,
ctcK_HcmOthrEquipDataCommModule = ctcK_HcmOthrEquipPhantom + 1
} ctcHcmOtherEquipmentTypes;
typedef /* [public][public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0004
{ ctcK_HcmDgtlGeneric = 0,
ctcK_HcmDgtlSingleLine = ctcK_HcmDgtlGeneric + 1,
ctcK_HcmDgtlKeyset = ctcK_HcmDgtlSingleLine + 1,
ctcK_HcmDgtlrp120 = ctcK_HcmDgtlKeyset + 1,
ctcK_HcmDgtlrp240 = ctcK_HcmDgtlrp120 + 1,
ctcK_HcmDgtlrp400 = ctcK_HcmDgtlrp240 + 1,
ctcK_HcmDgtlrp150 = ctcK_HcmDgtlrp400 + 1,
ctcK_HcmDgtlrp200 = ctcK_HcmDgtlrp150 + 1,
ctcK_HcmDgtlrp300 = ctcK_HcmDgtlrp200 + 1,
ctcK_HcmDgtlrp600 = ctcK_HcmDgtlrp300 + 1,
ctcK_HcmDgtlrp4327 = ctcK_HcmDgtlrp600 + 1,
ctcK_HcmDgtlset500 = ctcK_HcmDgtlrp4327 + 1,
ctcK_HcmDgtlni1200 = ctcK_HcmDgtlset500 + 1,
ctcK_HcmDgtloptie3 = ctcK_HcmDgtlni1200 + 1,
ctcK_HcmDgtloptie8 = ctcK_HcmDgtloptie3 + 1,
ctcK_HcmDgtloptieS = ctcK_HcmDgtloptie8 + 1,
ctcK_HcmDgtloptie1 = ctcK_HcmDgtloptieS + 1,
ctcK_HcmDgtloptie1S = ctcK_HcmDgtloptie1 + 1,
ctcK_HcmDgtlset211 = ctcK_HcmDgtloptie1S + 1,
ctcK_HcmDgtlset260 = ctcK_HcmDgtlset211 + 1,
ctcK_HcmDgtlset400 = ctcK_HcmDgtlset260 + 1,
ctcK_HcmDgtlset600 = ctcK_HcmDgtlset400 + 1,
ctcK_HcmDgtlset700 = ctcK_HcmDgtlset600 + 1
} ctcHcmDigitalTypes;
typedef struct ctcHcmDigitalStationType
{
ctcHcmDigitalTypes digitalType;
unsigned char digitalAttributes;
} ctcHcmDigitalStationType;
typedef /* [public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0005
{ ctcK_HcmAnalogStation = 0,
ctcK_HcmDigitalStation = ctcK_HcmAnalogStation + 1,
ctcK_HcmOtherEquipment = ctcK_HcmDigitalStation + 1
} ctcHcmStationCategory;
typedef /* [public][public][public][public][public][public][public][public] */ struct __MIDL_ctc_if_0006
{
ctcHcmStationCategory hcmStationCategory;
/* [switch_is] */ /* [switch_type] */ union __MIDL_ctc_if_0007
{
/* [case()] */ ctcHcmAnalogTypes analogStation;
/* [case()] */ struct ctcHcmDigitalStationType digitalStation;
/* [case()] */ ctcHcmOtherEquipmentTypes otherEquipment;
/* [default] */ /* Empty union arm */
} hcmStationCtgy;
} ctcHcmStationType;
typedef struct ctcErcConnectionId
{
char deviceId[ 12 ];
unsigned long callRefId;
} ctcErcConnectionId;
typedef /* [public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0008
{ ctcK_ErcDivTypeMsgDiversion0 = 0,
ctcK_ErcDivTypeMsgDiversion1 = ctcK_ErcDivTypeMsgDiversion0 + 1,
ctcK_ErcDivTypeMsgDiversion2 = ctcK_ErcDivTypeMsgDiversion1 + 1,
ctcK_ErcDivTypeMsgDiversion3 = ctcK_ErcDivTypeMsgDiversion2 + 1,
ctcK_ErcDivTypeMsgDiversion4 = ctcK_ErcDivTypeMsgDiversion3 + 1,
ctcK_ErcDivTypeMsgDiversion5 = ctcK_ErcDivTypeMsgDiversion4 + 1,
ctcK_ErcDivTypeMsgDiversion6 = ctcK_ErcDivTypeMsgDiversion5 + 1,
ctcK_ErcDivTypeMsgDiversion7 = ctcK_ErcDivTypeMsgDiversion6 + 1,
ctcK_ErcDivTypeMsgDiversion8 = ctcK_ErcDivTypeMsgDiversion7 + 1,
ctcK_ErcDivTypeMsgDiversion9 = ctcK_ErcDivTypeMsgDiversion8 + 1
} ctcErcDiversionType;
typedef struct ctcErcEnterDTMF
{
char DTMFdigits[ 12 ];
ctcErcConnectionId connection;
} ctcErcEnterDTMF;
typedef struct ctcErcMessageDiversion
{
boolean timeOrDateSpecified;
char deviceId[ 12 ];
boolean mode;
ctcErcDiversionType diversionType;
char ASN1TimeOrDate[ 5 ];
} ctcErcMessageDiversion;
typedef /* [public][public][public][public][public][public][public][public][public] */
enum __MIDL_ctc_if_0009
{ ctcK_ErcConnectionIdChosen = 0,
ctcK_ErcDeviceIdChosen = ctcK_ErcConnectionIdChosen + 1
} ctcErcAccountCodeChoice;
typedef struct ctcErcAccountCode
{
ctcErcAccountCodeChoice choice;
char accountCode[ 11 ];
ctcErcConnectionId connection;
} ctcErcAccountCode;
typedef struct ctcErcAuthCode
{
char deviceId[ 12 ];
char authCode[ 11 ];
} ctcErcAuthCode;
typedef struct ctcErcPressProgKey
{
char deviceId[ 12 ];
char keyNumber[ 4 ];
} ctcErcPressProgKey;
typedef struct ctcErcCancelCallback
{
boolean callbackToCancelSpecified;
char deviceId[ 12 ];
char callbackToCancel[ 12 ];
} ctcErcCancelCallback;
typedef struct ctcErcSetAssociateData
{
ctcErcConnectionId connection;
char associateData[ 21 ];
} ctcErcSetAssociateData;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -