Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
capi20.h File Reference

Go to the source code of this file.

Data Structures

struct  divas_capi_register_params
 
struct  divas_capi_version
 
struct  api_profile_s
 
struct  _ALT_REQP
 
struct  _ALT_CONP
 
struct  _CON_REQP
 
struct  _CON_CONP
 
struct  _CON_INDP
 
struct  _CON_RESP
 
struct  _CON_A_INDP
 
struct  _CON_A_RESP
 
struct  _DIS_REQP
 
struct  _DIS_CONP
 
struct  _DIS_INDP
 
struct  _DIS_RESP
 
struct  _LIS_REQP
 
struct  _LIS_CONP
 
struct  _INF_REQP
 
struct  _INF_CONP
 
struct  _INF_INDP
 
struct  _INF_RESP
 
struct  _SEL_B_REQP
 
struct  _SEL_B_CONP
 
struct  _FAC_REQP
 
struct  _FAC_CON_STRUCTS
 
struct  _FAC_CONP
 
struct  _FAC_INDP
 
struct  _FAC_RESP
 
struct  _CON_B3_REQP
 
struct  _CON_B3_CONP
 
struct  _CON_B3_INDP
 
struct  _CON_B3_RESP
 
struct  _CON_B3_A_INDP
 
struct  _CON_B3_A_RESP
 
struct  _DIS_B3_REQP
 
struct  _DIS_B3_CONP
 
struct  _DIS_B3_INDP
 
struct  _DIS_B3_RESP
 
struct  _DAT_B3_REQP
 
struct  _DAT_B3_REQ64P
 
struct  _DAT_B3_CONP
 
struct  _DAT_B3_INDP
 
struct  _DAT_B3_IND64P
 
struct  _DAT_B3_RESP
 
struct  _RES_B3_REQP
 
struct  _RES_B3_CONP
 
struct  _RES_B3_INDP
 
struct  _RES_B3_RESP
 
struct  _CON_B3_T90_A_INDP
 
struct  _CON_B3_T90_A_RESP
 
struct  _API_MSG
 
struct  _API_MSG::_MSG_HEADER
 

Macros

#define FILE_DEVICE_CAPI20   0x8001
 
#define CAPI20_CTL_REGISTER   0x0801
 
#define CAPI20_CTL_RELEASE   0x0802
 
#define CAPI20_CTL_GET_MANUFACTURER   0x0805
 
#define CAPI20_CTL_GET_VERSION   0x0806
 
#define CAPI20_CTL_GET_SERIAL   0x0807
 
#define CAPI20_CTL_GET_PROFILE   0x0808
 
#define CAPI20_CTL_PUT_MESSAGE   0x0803
 
#define CAPI20_CTL_GET_MESSAGE   0x0804
 
#define CAPI_CTL_CODE(f, m)   CTL_CODE(FILE_DEVICE_CAPI20, f, m, FILE_ANY_ACCESS)
 
#define IOCTL_CAPI_REGISTER   CAPI_CTL_CODE(CAPI20_CTL_REGISTER, METHOD_BUFFERED)
 
#define IOCTL_CAPI_RELEASE   CAPI_CTL_CODE(CAPI20_CTL_RELEASE, METHOD_BUFFERED)
 
#define IOCTL_CAPI_GET_MANUFACTURER   CAPI_CTL_CODE(CAPI20_CTL_GET_MANUFACTURER, METHOD_BUFFERED)
 
#define IOCTL_CAPI_GET_VERSION   CAPI_CTL_CODE(CAPI20_CTL_GET_VERSION, METHOD_BUFFERED)
 
#define IOCTL_CAPI_GET_SERIAL   CAPI_CTL_CODE(CAPI20_CTL_GET_SERIAL, METHOD_BUFFERED)
 
#define IOCTL_CAPI_GET_PROFILE   CAPI_CTL_CODE(CAPI20_CTL_GET_PROFILE, METHOD_BUFFERED)
 
#define IOCTL_CAPI_PUT_MESSAGE   CAPI_CTL_CODE(CAPI20_CTL_PUT_MESSAGE, METHOD_BUFFERED)
 
#define IOCTL_CAPI_GET_MESSAGE   CAPI_CTL_CODE(CAPI20_CTL_GET_MESSAGE, METHOD_BUFFERED)
 
#define _ALERT_R   0x8001
 
#define _CONNECT_R   0x8002
 
#define _CONNECT_I   0x8202
 
#define _CONNECT_ACTIVE_I   0x8203
 
#define _DISCONNECT_R   0x8004
 
#define _DISCONNECT_I   0x8204
 
#define _LISTEN_R   0x8005
 
#define _INFO_R   0x8008
 
#define _INFO_I   0x8208
 
#define _SELECT_B_REQ   0x8041
 
#define _FACILITY_R   0x8080
 
#define _FACILITY_I   0x8280
 
#define _CONNECT_B3_R   0x8082
 
#define _CONNECT_B3_I   0x8282
 
#define _CONNECT_B3_ACTIVE_I   0x8283
 
#define _DISCONNECT_B3_R   0x8084
 
#define _DISCONNECT_B3_I   0x8284
 
#define _DATA_B3_R   0x8086
 
#define _DATA_B3_I   0x8286
 
#define _RESET_B3_R   0x8087
 
#define _RESET_B3_I   0x8287
 
#define _CONNECT_B3_T90_ACTIVE_I   0x8288
 
#define _MANUFACTURER_R   0x80ff
 
#define _MANUFACTURER_I   0x82ff
 
#define CONFIRM   0x0100
 
#define RESPONSE   0x0100
 
#define _DI_MANU_ID   0x44444944
 
#define _DI_ASSIGN_PLCI   0x0001
 
#define _DI_ADV_CODEC   0x0002
 
#define _DI_DSP_CTRL   0x0003
 
#define _DI_SIG_CTRL   0x0004
 
#define _DI_RXT_CTRL   0x0005
 
#define _DI_IDI_CTRL   0x0006
 
#define _DI_CFG_CTRL   0x0007
 
#define _DI_REMOVE_CODEC   0x0008
 
#define _DI_OPTIONS_REQUEST   0x0009
 
#define _DI_SSEXT_CTRL   0x000a
 
#define _DI_NEGOTIATE_B3   0x000b
 
#define _NCPI_IGNORED   0x0001
 
#define _FLAGS_IGNORED   0x0002
 
#define _ALERT_IGNORED   0x0003
 
#define GOOD   0x0000
 
#define _TOO_MANY_APPLICATIONS   0x1001
 
#define _BLOCK_TOO_SMALL   0x1002
 
#define _BUFFER_TOO_BIG   0x1003
 
#define _MSG_BUFFER_TOO_SMALL   0x1004
 
#define _TOO_MANY_CONNECTIONS   0x1005
 
#define _REG_CAPI_BUSY   0x1007
 
#define _REG_RESOURCE_ERROR   0x1008
 
#define _REG_CAPI_NOT_INSTALLED   0x1009
 
#define _WRONG_APPL_ID   0x1101
 
#define _BAD_MSG   0x1102
 
#define _QUEUE_FULL   0x1103
 
#define _GET_NO_MSG   0x1104
 
#define _MSG_LOST   0x1105
 
#define _WRONG_NOTIFY   0x1106
 
#define _CAPI_BUSY   0x1107
 
#define _RESOURCE_ERROR   0x1108
 
#define _CAPI_NOT_INSTALLED   0x1109
 
#define _NO_EXTERNAL_EQUIPMENT   0x110a
 
#define _ONLY_EXTERNAL_EQUIPMENT   0x110b
 
#define _WRONG_STATE   0x2001
 
#define _WRONG_IDENTIFIER   0x2002
 
#define _OUT_OF_PLCI   0x2003
 
#define _OUT_OF_NCCI   0x2004
 
#define _OUT_OF_LISTEN   0x2005
 
#define _OUT_OF_FAX   0x2006
 
#define _WRONG_MESSAGE_FORMAT   0x2007
 
#define _OUT_OF_INTERCONNECT_RESOURCES   0x2008
 
#define _B1_NOT_SUPPORTED   0x3001
 
#define _B2_NOT_SUPPORTED   0x3002
 
#define _B3_NOT_SUPPORTED   0x3003
 
#define _B1_PARM_NOT_SUPPORTED   0x3004
 
#define _B2_PARM_NOT_SUPPORTED   0x3005
 
#define _B3_PARM_NOT_SUPPORTED   0x3006
 
#define _B_STACK_NOT_SUPPORTED   0x3007
 
#define _NCPI_NOT_SUPPORTED   0x3008
 
#define _CIP_NOT_SUPPORTED   0x3009
 
#define _FLAGS_NOT_SUPPORTED   0x300a
 
#define _FACILITY_NOT_SUPPORTED   0x300b
 
#define _DATA_LEN_NOT_SUPPORTED   0x300c
 
#define _RESET_NOT_SUPPORTED   0x300d
 
#define _SUPPLEMENTARY_SERVICE_NOT_SUPPORTED   0x300e
 
#define _REQUEST_NOT_ALLOWED_IN_THIS_STATE   0x3010
 
#define _FACILITY_SPECIFIC_FUNCTION_NOT_SUPP   0x3011
 
#define _L1_ERROR   0x3301
 
#define _L2_ERROR   0x3302
 
#define _L3_ERROR   0x3303
 
#define _OTHER_APPL_CONNECTED   0x3304
 
#define _CAPI_GUARD_ERROR   0x3305
 
#define _L3_CAUSE   0x3400
 
#define _B_CHANNEL_LOST   0x3301
 
#define _B2_ERROR   0x3302
 
#define _B3_ERROR   0x3303
 
#define _FAX_NO_CONNECTION   0x3311
 
#define _FAX_TRAINING_ERROR   0x3312
 
#define _FAX_REMOTE_REJECT   0x3313
 
#define _FAX_REMOTE_ABORT   0x3314
 
#define _FAX_PROTOCOL_ERROR   0x3315
 
#define _FAX_TX_UNDERRUN   0x3316
 
#define _FAX_RX_OVERFLOW   0x3317
 
#define _FAX_LOCAL_ABORT   0x3318
 
#define _FAX_PARAMETER_ERROR   0x3319
 
#define _LI_USER_INITIATED   0x0000
 
#define _LI_LINE_NO_LONGER_AVAILABLE   0x3805
 
#define _LI_INTERCONNECT_NOT_ESTABLISHED   0x3806
 
#define _LI_LINES_NOT_COMPATIBLE   0x3807
 
#define _LI2_USER_INITIATED   0x0000
 
#define _LI2_PLCI_HAS_NO_BCHANNEL   0x3800
 
#define _LI2_LINES_NOT_COMPATIBLE   0x3801
 
#define _LI2_NOT_IN_SAME_INTERCONNECTION   0x3802
 
#define GL_INTERNAL_CONTROLLER_SUPPORTED   0x00000001L
 
#define GL_EXTERNAL_EQUIPMENT_SUPPORTED   0x00000002L
 
#define GL_HANDSET_SUPPORTED   0x00000004L
 
#define GL_DTMF_SUPPORTED   0x00000008L
 
#define GL_SUPPLEMENTARY_SERVICES_SUPPORTED   0x00000010L
 
#define GL_CHANNEL_ALLOCATION_SUPPORTED   0x00000020L
 
#define GL_BCHANNEL_OPERATION_SUPPORTED   0x00000040L
 
#define GL_LINE_INTERCONNECT_SUPPORTED   0x00000080L
 
#define GL_ECHO_CANCELLER_SUPPORTED   0x00000100L
 
#define B1_HDLC   0
 
#define B1_TRANSPARENT   1
 
#define B1_V110_ASYNC   2
 
#define B1_V110_SYNC   3
 
#define B1_T30   4
 
#define B1_HDLC_INVERTED   5
 
#define B1_TRANSPARENT_R   6
 
#define B1_MODEM_ALL_NEGOTIATE   7
 
#define B1_MODEM_ASYNC   8
 
#define B1_MODEM_SYNC_HDLC   9
 
#define B2_X75   0
 
#define B2_TRANSPARENT   1
 
#define B2_SDLC   2
 
#define B2_LAPD   3
 
#define B2_T30   4
 
#define B2_PPP   5
 
#define B2_TRANSPARENT_NO_CRC   6
 
#define B2_MODEM_EC_COMPRESSION   7
 
#define B2_X75_V42BIS   8
 
#define B2_V120_ASYNC   9
 
#define B2_V120_ASYNC_V42BIS   10
 
#define B2_V120_BIT_TRANSPARENT   11
 
#define B2_LAPD_FREE_SAPI_SEL   12
 
#define B3_TRANSPARENT   0
 
#define B3_T90NL   1
 
#define B3_ISO8208   2
 
#define B3_X25_DCE   3
 
#define B3_T30   4
 
#define B3_T30_WITH_EXTENSIONS   5
 
#define B3_RESERVED   6
 
#define B3_MODEM   7
 
#define SELECTOR_HANDSET   0
 
#define SELECTOR_DTMF   1
 
#define SELECTOR_V42BIS   2
 
#define SELECTOR_SU_SERV   3
 
#define SELECTOR_POWER_MANAGEMENT   4
 
#define SELECTOR_LINE_INTERCONNECT   5
 
#define SELECTOR_ECHO_CANCELLER   6
 
#define S_GET_SUPPORTED_SERVICES   0x0000
 
#define S_LISTEN   0x0001
 
#define S_HOLD   0x0002
 
#define S_RETRIEVE   0x0003
 
#define S_SUSPEND   0x0004
 
#define S_RESUME   0x0005
 
#define S_ECT   0x0006
 
#define S_3PTY_BEGIN   0x0007
 
#define S_3PTY_END   0x0008
 
#define S_CALL_DEFLECTION   0x000d
 
#define S_CALL_FORWARDING_START   0x0009
 
#define S_CALL_FORWARDING_STOP   0x000a
 
#define S_INTERROGATE_DIVERSION   0x000b /* or interrogate parameters */
 
#define S_INTERROGATE_NUMBERS   0x000c
 
#define S_CCBS_REQUEST   0x000f
 
#define S_CCBS_DEACTIVATE   0x0010
 
#define S_CCBS_INTERROGATE   0x0011
 
#define S_CCBS_CALL   0x0012
 
#define S_MWI_ACTIVATE   0x0013
 
#define S_MWI_DEACTIVATE   0x0014
 
#define S_CONF_BEGIN   0x0017
 
#define S_CONF_ADD   0x0018
 
#define S_CONF_SPLIT   0x0019
 
#define S_CONF_DROP   0x001a
 
#define S_CONF_ISOLATE   0x001b
 
#define S_CONF_REATTACH   0x001c
 
#define S_CCBS_ERASECALLLINKAGEID   0x800d
 
#define S_CCBS_STOP_ALERTING   0x8012
 
#define S_CCBS_INFO_RETAIN   0x8013
 
#define S_MWI_INDICATE   0x8014
 
#define S_CONF_PARTYDISC   0x8016
 
#define S_CONF_NOTIFICATION   0x8017
 
#define MASK_HOLD_RETRIEVE   0x00000001
 
#define MASK_TERMINAL_PORTABILITY   0x00000002
 
#define MASK_ECT   0x00000004
 
#define MASK_3PTY   0x00000008
 
#define MASK_CALL_FORWARDING   0x00000010
 
#define MASK_CALL_DEFLECTION   0x00000020
 
#define MASK_MWI   0x00000100
 
#define MASK_CCNR   0x00000200
 
#define MASK_CONF   0x00000400
 
#define DTMF_LISTEN_START   1
 
#define DTMF_LISTEN_STOP   2
 
#define DTMF_DIGITS_SEND   3
 
#define DTMF_SUCCESS   0
 
#define DTMF_INCORRECT_DIGIT   1
 
#define DTMF_UNKNOWN_REQUEST   2
 
#define LI_GET_SUPPORTED_SERVICES   0
 
#define LI_REQ_CONNECT   1
 
#define LI_REQ_DISCONNECT   2
 
#define LI_IND_CONNECT_ACTIVE   1
 
#define LI_IND_DISCONNECT   2
 
#define LI_FLAG_CONFERENCE_A_B   ((dword) 0x00000001L)
 
#define LI_FLAG_CONFERENCE_B_A   ((dword) 0x00000002L)
 
#define LI_FLAG_MONITOR_A   ((dword) 0x00000004L)
 
#define LI_FLAG_MONITOR_B   ((dword) 0x00000008L)
 
#define LI_FLAG_ANNOUNCEMENT_A   ((dword) 0x00000010L)
 
#define LI_FLAG_ANNOUNCEMENT_B   ((dword) 0x00000020L)
 
#define LI_FLAG_MIX_A   ((dword) 0x00000040L)
 
#define LI_FLAG_MIX_B   ((dword) 0x00000080L)
 
#define LI_CONFERENCING_SUPPORTED   ((dword) 0x00000001L)
 
#define LI_MONITORING_SUPPORTED   ((dword) 0x00000002L)
 
#define LI_ANNOUNCEMENTS_SUPPORTED   ((dword) 0x00000004L)
 
#define LI_MIXING_SUPPORTED   ((dword) 0x00000008L)
 
#define LI_CROSS_CONTROLLER_SUPPORTED   ((dword) 0x00000010L)
 
#define LI2_GET_SUPPORTED_SERVICES   0
 
#define LI2_REQ_CONNECT   1
 
#define LI2_REQ_DISCONNECT   2
 
#define LI2_IND_CONNECT_ACTIVE   1
 
#define LI2_IND_DISCONNECT   2
 
#define LI2_FLAG_INTERCONNECT_A_B   ((dword) 0x00000001L)
 
#define LI2_FLAG_INTERCONNECT_B_A   ((dword) 0x00000002L)
 
#define LI2_FLAG_MONITOR_B   ((dword) 0x00000004L)
 
#define LI2_FLAG_MIX_B   ((dword) 0x00000008L)
 
#define LI2_FLAG_MONITOR_X   ((dword) 0x00000010L)
 
#define LI2_FLAG_MIX_X   ((dword) 0x00000020L)
 
#define LI2_FLAG_LOOP_B   ((dword) 0x00000040L)
 
#define LI2_FLAG_LOOP_PC   ((dword) 0x00000080L)
 
#define LI2_FLAG_LOOP_X   ((dword) 0x00000100L)
 
#define LI2_CROSS_CONTROLLER_SUPPORTED   ((dword) 0x00000001L)
 
#define LI2_ASYMMETRIC_SUPPORTED   ((dword) 0x00000002L)
 
#define LI2_MONITORING_SUPPORTED   ((dword) 0x00000004L)
 
#define LI2_MIXING_SUPPORTED   ((dword) 0x00000008L)
 
#define LI2_REMOTE_MONITORING_SUPPORTED   ((dword) 0x00000010L)
 
#define LI2_REMOTE_MIXING_SUPPORTED   ((dword) 0x00000020L)
 
#define LI2_B_LOOPING_SUPPORTED   ((dword) 0x00000040L)
 
#define LI2_PC_LOOPING_SUPPORTED   ((dword) 0x00000080L)
 
#define LI2_X_LOOPING_SUPPORTED   ((dword) 0x00000100L)
 
#define EC_GET_SUPPORTED_SERVICES   0
 
#define EC_ENABLE_OPERATION   1
 
#define EC_DISABLE_OPERATION   2
 
#define EC_ENABLE_NON_LINEAR_PROCESSING   0x0001
 
#define EC_DO_NOT_REQUIRE_REVERSALS   0x0002
 
#define EC_DETECT_DISABLE_TONE   0x0004
 
#define EC_ENABLE_ADAPTIVE_PREDELAY   0x0008
 
#define EC_NON_LINEAR_PROCESSING_SUPPORTED   0x0001
 
#define EC_BYPASS_ON_ANY_2100HZ_SUPPORTED   0x0002
 
#define EC_BYPASS_ON_REV_2100HZ_SUPPORTED   0x0004
 
#define EC_ADAPTIVE_PREDELAY_SUPPORTED   0x0008
 
#define EC_BYPASS_INDICATION   1
 
#define EC_BYPASS_DUE_TO_CONTINUOUS_2100HZ   1
 
#define EC_BYPASS_DUE_TO_REVERSED_2100HZ   2
 
#define EC_BYPASS_RELEASED   3
 

Typedefs

typedef struct api_profile_s API_PROFILE
 
typedef struct _API_MSG CAPI_MSG
 
typedef struct _MSG_HEADER CAPI_MSG_HEADER
 

Macro Definition Documentation

#define _ALERT_IGNORED   0x0003

Definition at line 431 of file capi20.h.

#define _ALERT_R   0x8001

Definition at line 72 of file capi20.h.

#define _B1_NOT_SUPPORTED   0x3001

Definition at line 469 of file capi20.h.

#define _B1_PARM_NOT_SUPPORTED   0x3004

Definition at line 472 of file capi20.h.

#define _B2_ERROR   0x3302

Definition at line 498 of file capi20.h.

#define _B2_NOT_SUPPORTED   0x3002

Definition at line 470 of file capi20.h.

#define _B2_PARM_NOT_SUPPORTED   0x3005

Definition at line 473 of file capi20.h.

#define _B3_ERROR   0x3303

Definition at line 499 of file capi20.h.

#define _B3_NOT_SUPPORTED   0x3003

Definition at line 471 of file capi20.h.

#define _B3_PARM_NOT_SUPPORTED   0x3006

Definition at line 474 of file capi20.h.

#define _B_CHANNEL_LOST   0x3301

Definition at line 497 of file capi20.h.

#define _B_STACK_NOT_SUPPORTED   0x3007

Definition at line 475 of file capi20.h.

#define _BAD_MSG   0x1102

Definition at line 445 of file capi20.h.

#define _BLOCK_TOO_SMALL   0x1002

Definition at line 437 of file capi20.h.

#define _BUFFER_TOO_BIG   0x1003

Definition at line 438 of file capi20.h.

#define _CAPI_BUSY   0x1107

Definition at line 450 of file capi20.h.

#define _CAPI_GUARD_ERROR   0x3305

Definition at line 492 of file capi20.h.

#define _CAPI_NOT_INSTALLED   0x1109

Definition at line 452 of file capi20.h.

#define _CIP_NOT_SUPPORTED   0x3009

Definition at line 477 of file capi20.h.

#define _CONNECT_ACTIVE_I   0x8203

Definition at line 75 of file capi20.h.

#define _CONNECT_B3_ACTIVE_I   0x8283

Definition at line 86 of file capi20.h.

#define _CONNECT_B3_I   0x8282

Definition at line 85 of file capi20.h.

#define _CONNECT_B3_R   0x8082

Definition at line 84 of file capi20.h.

#define _CONNECT_B3_T90_ACTIVE_I   0x8288

Definition at line 93 of file capi20.h.

#define _CONNECT_I   0x8202

Definition at line 74 of file capi20.h.

#define _CONNECT_R   0x8002

Definition at line 73 of file capi20.h.

#define _DATA_B3_I   0x8286

Definition at line 90 of file capi20.h.

#define _DATA_B3_R   0x8086

Definition at line 89 of file capi20.h.

#define _DATA_LEN_NOT_SUPPORTED   0x300c

Definition at line 480 of file capi20.h.

#define _DI_ADV_CODEC   0x0002

Definition at line 105 of file capi20.h.

#define _DI_ASSIGN_PLCI   0x0001

Definition at line 104 of file capi20.h.

#define _DI_CFG_CTRL   0x0007

Definition at line 110 of file capi20.h.

#define _DI_DSP_CTRL   0x0003

Definition at line 106 of file capi20.h.

#define _DI_IDI_CTRL   0x0006

Definition at line 109 of file capi20.h.

#define _DI_MANU_ID   0x44444944

Definition at line 103 of file capi20.h.

#define _DI_NEGOTIATE_B3   0x000b

Definition at line 114 of file capi20.h.

#define _DI_OPTIONS_REQUEST   0x0009

Definition at line 112 of file capi20.h.

#define _DI_REMOVE_CODEC   0x0008

Definition at line 111 of file capi20.h.

#define _DI_RXT_CTRL   0x0005

Definition at line 108 of file capi20.h.

#define _DI_SIG_CTRL   0x0004

Definition at line 107 of file capi20.h.

#define _DI_SSEXT_CTRL   0x000a

Definition at line 113 of file capi20.h.

#define _DISCONNECT_B3_I   0x8284

Definition at line 88 of file capi20.h.

#define _DISCONNECT_B3_R   0x8084

Definition at line 87 of file capi20.h.

#define _DISCONNECT_I   0x8204

Definition at line 77 of file capi20.h.

#define _DISCONNECT_R   0x8004

Definition at line 76 of file capi20.h.

#define _FACILITY_I   0x8280

Definition at line 83 of file capi20.h.

#define _FACILITY_NOT_SUPPORTED   0x300b

Definition at line 479 of file capi20.h.

#define _FACILITY_R   0x8080

Definition at line 82 of file capi20.h.

#define _FACILITY_SPECIFIC_FUNCTION_NOT_SUPP   0x3011

Definition at line 484 of file capi20.h.

#define _FAX_LOCAL_ABORT   0x3318

Definition at line 510 of file capi20.h.

#define _FAX_NO_CONNECTION   0x3311

Definition at line 503 of file capi20.h.

#define _FAX_PARAMETER_ERROR   0x3319

Definition at line 511 of file capi20.h.

#define _FAX_PROTOCOL_ERROR   0x3315

Definition at line 507 of file capi20.h.

#define _FAX_REMOTE_ABORT   0x3314

Definition at line 506 of file capi20.h.

#define _FAX_REMOTE_REJECT   0x3313

Definition at line 505 of file capi20.h.

#define _FAX_RX_OVERFLOW   0x3317

Definition at line 509 of file capi20.h.

#define _FAX_TRAINING_ERROR   0x3312

Definition at line 504 of file capi20.h.

#define _FAX_TX_UNDERRUN   0x3316

Definition at line 508 of file capi20.h.

#define _FLAGS_IGNORED   0x0002

Definition at line 430 of file capi20.h.

#define _FLAGS_NOT_SUPPORTED   0x300a

Definition at line 478 of file capi20.h.

#define _GET_NO_MSG   0x1104

Definition at line 447 of file capi20.h.

#define _INFO_I   0x8208

Definition at line 80 of file capi20.h.

#define _INFO_R   0x8008

Definition at line 79 of file capi20.h.

#define _L1_ERROR   0x3301

Definition at line 488 of file capi20.h.

#define _L2_ERROR   0x3302

Definition at line 489 of file capi20.h.

#define _L3_CAUSE   0x3400

Definition at line 493 of file capi20.h.

#define _L3_ERROR   0x3303

Definition at line 490 of file capi20.h.

#define _LI2_LINES_NOT_COMPATIBLE   0x3801

Definition at line 521 of file capi20.h.

#define _LI2_NOT_IN_SAME_INTERCONNECTION   0x3802

Definition at line 522 of file capi20.h.

#define _LI2_PLCI_HAS_NO_BCHANNEL   0x3800

Definition at line 520 of file capi20.h.

#define _LI2_USER_INITIATED   0x0000

Definition at line 519 of file capi20.h.

#define _LI_INTERCONNECT_NOT_ESTABLISHED   0x3806

Definition at line 517 of file capi20.h.

#define _LI_LINE_NO_LONGER_AVAILABLE   0x3805

Definition at line 516 of file capi20.h.

#define _LI_LINES_NOT_COMPATIBLE   0x3807

Definition at line 518 of file capi20.h.

#define _LI_USER_INITIATED   0x0000

Definition at line 515 of file capi20.h.

#define _LISTEN_R   0x8005

Definition at line 78 of file capi20.h.

#define _MANUFACTURER_I   0x82ff

Definition at line 95 of file capi20.h.

#define _MANUFACTURER_R   0x80ff

Definition at line 94 of file capi20.h.

#define _MSG_BUFFER_TOO_SMALL   0x1004

Definition at line 439 of file capi20.h.

#define _MSG_LOST   0x1105

Definition at line 448 of file capi20.h.

#define _NCPI_IGNORED   0x0001

Definition at line 429 of file capi20.h.

#define _NCPI_NOT_SUPPORTED   0x3008

Definition at line 476 of file capi20.h.

#define _NO_EXTERNAL_EQUIPMENT   0x110a

Definition at line 453 of file capi20.h.

#define _ONLY_EXTERNAL_EQUIPMENT   0x110b

Definition at line 454 of file capi20.h.

#define _OTHER_APPL_CONNECTED   0x3304

Definition at line 491 of file capi20.h.

#define _OUT_OF_FAX   0x2006

Definition at line 463 of file capi20.h.

#define _OUT_OF_INTERCONNECT_RESOURCES   0x2008

Definition at line 465 of file capi20.h.

#define _OUT_OF_LISTEN   0x2005

Definition at line 462 of file capi20.h.

#define _OUT_OF_NCCI   0x2004

Definition at line 461 of file capi20.h.

#define _OUT_OF_PLCI   0x2003

Definition at line 460 of file capi20.h.

#define _QUEUE_FULL   0x1103

Definition at line 446 of file capi20.h.

#define _REG_CAPI_BUSY   0x1007

Definition at line 441 of file capi20.h.

#define _REG_CAPI_NOT_INSTALLED   0x1009

Definition at line 443 of file capi20.h.

#define _REG_RESOURCE_ERROR   0x1008

Definition at line 442 of file capi20.h.

#define _REQUEST_NOT_ALLOWED_IN_THIS_STATE   0x3010

Definition at line 483 of file capi20.h.

#define _RESET_B3_I   0x8287

Definition at line 92 of file capi20.h.

#define _RESET_B3_R   0x8087

Definition at line 91 of file capi20.h.

#define _RESET_NOT_SUPPORTED   0x300d

Definition at line 481 of file capi20.h.

#define _RESOURCE_ERROR   0x1108

Definition at line 451 of file capi20.h.

#define _SELECT_B_REQ   0x8041

Definition at line 81 of file capi20.h.

#define _SUPPLEMENTARY_SERVICE_NOT_SUPPORTED   0x300e

Definition at line 482 of file capi20.h.

#define _TOO_MANY_APPLICATIONS   0x1001

Definition at line 436 of file capi20.h.

#define _TOO_MANY_CONNECTIONS   0x1005

Definition at line 440 of file capi20.h.

#define _WRONG_APPL_ID   0x1101

Definition at line 444 of file capi20.h.

#define _WRONG_IDENTIFIER   0x2002

Definition at line 459 of file capi20.h.

#define _WRONG_MESSAGE_FORMAT   0x2007

Definition at line 464 of file capi20.h.

#define _WRONG_NOTIFY   0x1106

Definition at line 449 of file capi20.h.

#define _WRONG_STATE   0x2001

Definition at line 458 of file capi20.h.

#define B1_HDLC   0

Definition at line 538 of file capi20.h.

#define B1_HDLC_INVERTED   5

Definition at line 543 of file capi20.h.

#define B1_MODEM_ALL_NEGOTIATE   7

Definition at line 545 of file capi20.h.

#define B1_MODEM_ASYNC   8

Definition at line 546 of file capi20.h.

#define B1_MODEM_SYNC_HDLC   9

Definition at line 547 of file capi20.h.

#define B1_T30   4

Definition at line 542 of file capi20.h.

#define B1_TRANSPARENT   1

Definition at line 539 of file capi20.h.

#define B1_TRANSPARENT_R   6

Definition at line 544 of file capi20.h.

#define B1_V110_ASYNC   2

Definition at line 540 of file capi20.h.

#define B1_V110_SYNC   3

Definition at line 541 of file capi20.h.

#define B2_LAPD   3

Definition at line 551 of file capi20.h.

#define B2_LAPD_FREE_SAPI_SEL   12

Definition at line 560 of file capi20.h.

#define B2_MODEM_EC_COMPRESSION   7

Definition at line 555 of file capi20.h.

#define B2_PPP   5

Definition at line 553 of file capi20.h.

#define B2_SDLC   2

Definition at line 550 of file capi20.h.

#define B2_T30   4

Definition at line 552 of file capi20.h.

#define B2_TRANSPARENT   1

Definition at line 549 of file capi20.h.

#define B2_TRANSPARENT_NO_CRC   6

Definition at line 554 of file capi20.h.

#define B2_V120_ASYNC   9

Definition at line 557 of file capi20.h.

#define B2_V120_ASYNC_V42BIS   10

Definition at line 558 of file capi20.h.

#define B2_V120_BIT_TRANSPARENT   11

Definition at line 559 of file capi20.h.

#define B2_X75   0

Definition at line 548 of file capi20.h.

#define B2_X75_V42BIS   8

Definition at line 556 of file capi20.h.

#define B3_ISO8208   2

Definition at line 563 of file capi20.h.

#define B3_MODEM   7

Definition at line 568 of file capi20.h.

#define B3_RESERVED   6

Definition at line 567 of file capi20.h.

#define B3_T30   4

Definition at line 565 of file capi20.h.

#define B3_T30_WITH_EXTENSIONS   5

Definition at line 566 of file capi20.h.

#define B3_T90NL   1

Definition at line 562 of file capi20.h.

#define B3_TRANSPARENT   0

Definition at line 561 of file capi20.h.

#define B3_X25_DCE   3

Definition at line 564 of file capi20.h.

#define CAPI20_CTL_GET_MANUFACTURER   0x0805

Definition at line 34 of file capi20.h.

#define CAPI20_CTL_GET_MESSAGE   0x0804

Definition at line 40 of file capi20.h.

#define CAPI20_CTL_GET_PROFILE   0x0808

Definition at line 37 of file capi20.h.

#define CAPI20_CTL_GET_SERIAL   0x0807

Definition at line 36 of file capi20.h.

#define CAPI20_CTL_GET_VERSION   0x0806

Definition at line 35 of file capi20.h.

#define CAPI20_CTL_PUT_MESSAGE   0x0803

Definition at line 39 of file capi20.h.

#define CAPI20_CTL_REGISTER   0x0801

Definition at line 32 of file capi20.h.

#define CAPI20_CTL_RELEASE   0x0802

Definition at line 33 of file capi20.h.

#define CAPI_CTL_CODE (   f,
  m 
)    CTL_CODE(FILE_DEVICE_CAPI20, f, m, FILE_ANY_ACCESS)

Definition at line 42 of file capi20.h.

#define CONFIRM   0x0100

Definition at line 97 of file capi20.h.

#define DTMF_DIGITS_SEND   3

Definition at line 629 of file capi20.h.

#define DTMF_INCORRECT_DIGIT   1

Definition at line 631 of file capi20.h.

#define DTMF_LISTEN_START   1

Definition at line 627 of file capi20.h.

#define DTMF_LISTEN_STOP   2

Definition at line 628 of file capi20.h.

#define DTMF_SUCCESS   0

Definition at line 630 of file capi20.h.

#define DTMF_UNKNOWN_REQUEST   2

Definition at line 632 of file capi20.h.

#define EC_ADAPTIVE_PREDELAY_SUPPORTED   0x0008

Definition at line 690 of file capi20.h.

#define EC_BYPASS_DUE_TO_CONTINUOUS_2100HZ   1

Definition at line 692 of file capi20.h.

#define EC_BYPASS_DUE_TO_REVERSED_2100HZ   2

Definition at line 693 of file capi20.h.

#define EC_BYPASS_INDICATION   1

Definition at line 691 of file capi20.h.

#define EC_BYPASS_ON_ANY_2100HZ_SUPPORTED   0x0002

Definition at line 688 of file capi20.h.

#define EC_BYPASS_ON_REV_2100HZ_SUPPORTED   0x0004

Definition at line 689 of file capi20.h.

#define EC_BYPASS_RELEASED   3

Definition at line 694 of file capi20.h.

#define EC_DETECT_DISABLE_TONE   0x0004

Definition at line 685 of file capi20.h.

#define EC_DISABLE_OPERATION   2

Definition at line 682 of file capi20.h.

#define EC_DO_NOT_REQUIRE_REVERSALS   0x0002

Definition at line 684 of file capi20.h.

#define EC_ENABLE_ADAPTIVE_PREDELAY   0x0008

Definition at line 686 of file capi20.h.

#define EC_ENABLE_NON_LINEAR_PROCESSING   0x0001

Definition at line 683 of file capi20.h.

#define EC_ENABLE_OPERATION   1

Definition at line 681 of file capi20.h.

#define EC_GET_SUPPORTED_SERVICES   0

Definition at line 680 of file capi20.h.

#define EC_NON_LINEAR_PROCESSING_SUPPORTED   0x0001

Definition at line 687 of file capi20.h.

#define FILE_DEVICE_CAPI20   0x8001

Definition at line 30 of file capi20.h.

#define GL_BCHANNEL_OPERATION_SUPPORTED   0x00000040L

Definition at line 532 of file capi20.h.

#define GL_CHANNEL_ALLOCATION_SUPPORTED   0x00000020L

Definition at line 531 of file capi20.h.

#define GL_DTMF_SUPPORTED   0x00000008L

Definition at line 529 of file capi20.h.

#define GL_ECHO_CANCELLER_SUPPORTED   0x00000100L

Definition at line 534 of file capi20.h.

#define GL_EXTERNAL_EQUIPMENT_SUPPORTED   0x00000002L

Definition at line 527 of file capi20.h.

#define GL_HANDSET_SUPPORTED   0x00000004L

Definition at line 528 of file capi20.h.

#define GL_INTERNAL_CONTROLLER_SUPPORTED   0x00000001L

Definition at line 526 of file capi20.h.

#define GL_LINE_INTERCONNECT_SUPPORTED   0x00000080L

Definition at line 533 of file capi20.h.

#define GL_SUPPLEMENTARY_SERVICES_SUPPORTED   0x00000010L

Definition at line 530 of file capi20.h.

#define GOOD   0x0000

Definition at line 435 of file capi20.h.

#define IOCTL_CAPI_GET_MANUFACTURER   CAPI_CTL_CODE(CAPI20_CTL_GET_MANUFACTURER, METHOD_BUFFERED)

Definition at line 45 of file capi20.h.

#define IOCTL_CAPI_GET_MESSAGE   CAPI_CTL_CODE(CAPI20_CTL_GET_MESSAGE, METHOD_BUFFERED)

Definition at line 50 of file capi20.h.

#define IOCTL_CAPI_GET_PROFILE   CAPI_CTL_CODE(CAPI20_CTL_GET_PROFILE, METHOD_BUFFERED)

Definition at line 48 of file capi20.h.

#define IOCTL_CAPI_GET_SERIAL   CAPI_CTL_CODE(CAPI20_CTL_GET_SERIAL, METHOD_BUFFERED)

Definition at line 47 of file capi20.h.

#define IOCTL_CAPI_GET_VERSION   CAPI_CTL_CODE(CAPI20_CTL_GET_VERSION, METHOD_BUFFERED)

Definition at line 46 of file capi20.h.

#define IOCTL_CAPI_PUT_MESSAGE   CAPI_CTL_CODE(CAPI20_CTL_PUT_MESSAGE, METHOD_BUFFERED)

Definition at line 49 of file capi20.h.

#define IOCTL_CAPI_REGISTER   CAPI_CTL_CODE(CAPI20_CTL_REGISTER, METHOD_BUFFERED)

Definition at line 43 of file capi20.h.

#define IOCTL_CAPI_RELEASE   CAPI_CTL_CODE(CAPI20_CTL_RELEASE, METHOD_BUFFERED)

Definition at line 44 of file capi20.h.

#define LI2_ASYMMETRIC_SUPPORTED   ((dword) 0x00000002L)

Definition at line 669 of file capi20.h.

#define LI2_B_LOOPING_SUPPORTED   ((dword) 0x00000040L)

Definition at line 674 of file capi20.h.

#define LI2_CROSS_CONTROLLER_SUPPORTED   ((dword) 0x00000001L)

Definition at line 668 of file capi20.h.

#define LI2_FLAG_INTERCONNECT_A_B   ((dword) 0x00000001L)

Definition at line 659 of file capi20.h.

#define LI2_FLAG_INTERCONNECT_B_A   ((dword) 0x00000002L)

Definition at line 660 of file capi20.h.

#define LI2_FLAG_LOOP_B   ((dword) 0x00000040L)

Definition at line 665 of file capi20.h.

#define LI2_FLAG_LOOP_PC   ((dword) 0x00000080L)

Definition at line 666 of file capi20.h.

#define LI2_FLAG_LOOP_X   ((dword) 0x00000100L)

Definition at line 667 of file capi20.h.

#define LI2_FLAG_MIX_B   ((dword) 0x00000008L)

Definition at line 662 of file capi20.h.

#define LI2_FLAG_MIX_X   ((dword) 0x00000020L)

Definition at line 664 of file capi20.h.

#define LI2_FLAG_MONITOR_B   ((dword) 0x00000004L)

Definition at line 661 of file capi20.h.

#define LI2_FLAG_MONITOR_X   ((dword) 0x00000010L)

Definition at line 663 of file capi20.h.

#define LI2_GET_SUPPORTED_SERVICES   0

Definition at line 654 of file capi20.h.

#define LI2_IND_CONNECT_ACTIVE   1

Definition at line 657 of file capi20.h.

#define LI2_IND_DISCONNECT   2

Definition at line 658 of file capi20.h.

#define LI2_MIXING_SUPPORTED   ((dword) 0x00000008L)

Definition at line 671 of file capi20.h.

#define LI2_MONITORING_SUPPORTED   ((dword) 0x00000004L)

Definition at line 670 of file capi20.h.

#define LI2_PC_LOOPING_SUPPORTED   ((dword) 0x00000080L)

Definition at line 675 of file capi20.h.

#define LI2_REMOTE_MIXING_SUPPORTED   ((dword) 0x00000020L)

Definition at line 673 of file capi20.h.

#define LI2_REMOTE_MONITORING_SUPPORTED   ((dword) 0x00000010L)

Definition at line 672 of file capi20.h.

#define LI2_REQ_CONNECT   1

Definition at line 655 of file capi20.h.

#define LI2_REQ_DISCONNECT   2

Definition at line 656 of file capi20.h.

#define LI2_X_LOOPING_SUPPORTED   ((dword) 0x00000100L)

Definition at line 676 of file capi20.h.

#define LI_ANNOUNCEMENTS_SUPPORTED   ((dword) 0x00000004L)

Definition at line 651 of file capi20.h.

#define LI_CONFERENCING_SUPPORTED   ((dword) 0x00000001L)

Definition at line 649 of file capi20.h.

#define LI_CROSS_CONTROLLER_SUPPORTED   ((dword) 0x00000010L)

Definition at line 653 of file capi20.h.

#define LI_FLAG_ANNOUNCEMENT_A   ((dword) 0x00000010L)

Definition at line 645 of file capi20.h.

#define LI_FLAG_ANNOUNCEMENT_B   ((dword) 0x00000020L)

Definition at line 646 of file capi20.h.

#define LI_FLAG_CONFERENCE_A_B   ((dword) 0x00000001L)

Definition at line 641 of file capi20.h.

#define LI_FLAG_CONFERENCE_B_A   ((dword) 0x00000002L)

Definition at line 642 of file capi20.h.

#define LI_FLAG_MIX_A   ((dword) 0x00000040L)

Definition at line 647 of file capi20.h.

#define LI_FLAG_MIX_B   ((dword) 0x00000080L)

Definition at line 648 of file capi20.h.

#define LI_FLAG_MONITOR_A   ((dword) 0x00000004L)

Definition at line 643 of file capi20.h.

#define LI_FLAG_MONITOR_B   ((dword) 0x00000008L)

Definition at line 644 of file capi20.h.

#define LI_GET_SUPPORTED_SERVICES   0

Definition at line 636 of file capi20.h.

#define LI_IND_CONNECT_ACTIVE   1

Definition at line 639 of file capi20.h.

#define LI_IND_DISCONNECT   2

Definition at line 640 of file capi20.h.

#define LI_MIXING_SUPPORTED   ((dword) 0x00000008L)

Definition at line 652 of file capi20.h.

#define LI_MONITORING_SUPPORTED   ((dword) 0x00000002L)

Definition at line 650 of file capi20.h.

#define LI_REQ_CONNECT   1

Definition at line 637 of file capi20.h.

#define LI_REQ_DISCONNECT   2

Definition at line 638 of file capi20.h.

#define MASK_3PTY   0x00000008

Definition at line 618 of file capi20.h.

#define MASK_CALL_DEFLECTION   0x00000020

Definition at line 620 of file capi20.h.

#define MASK_CALL_FORWARDING   0x00000010

Definition at line 619 of file capi20.h.

#define MASK_CCNR   0x00000200

Definition at line 622 of file capi20.h.

#define MASK_CONF   0x00000400

Definition at line 623 of file capi20.h.

#define MASK_ECT   0x00000004

Definition at line 617 of file capi20.h.

#define MASK_HOLD_RETRIEVE   0x00000001

Definition at line 615 of file capi20.h.

#define MASK_MWI   0x00000100

Definition at line 621 of file capi20.h.

#define MASK_TERMINAL_PORTABILITY   0x00000002

Definition at line 616 of file capi20.h.

#define RESPONSE   0x0100

Definition at line 99 of file capi20.h.

#define S_3PTY_BEGIN   0x0007

Definition at line 589 of file capi20.h.

#define S_3PTY_END   0x0008

Definition at line 590 of file capi20.h.

#define S_CALL_DEFLECTION   0x000d

Definition at line 591 of file capi20.h.

#define S_CALL_FORWARDING_START   0x0009

Definition at line 592 of file capi20.h.

#define S_CALL_FORWARDING_STOP   0x000a

Definition at line 593 of file capi20.h.

#define S_CCBS_CALL   0x0012

Definition at line 599 of file capi20.h.

#define S_CCBS_DEACTIVATE   0x0010

Definition at line 597 of file capi20.h.

#define S_CCBS_ERASECALLLINKAGEID   0x800d

Definition at line 608 of file capi20.h.

#define S_CCBS_INFO_RETAIN   0x8013

Definition at line 610 of file capi20.h.

#define S_CCBS_INTERROGATE   0x0011

Definition at line 598 of file capi20.h.

#define S_CCBS_REQUEST   0x000f

Definition at line 596 of file capi20.h.

#define S_CCBS_STOP_ALERTING   0x8012

Definition at line 609 of file capi20.h.

#define S_CONF_ADD   0x0018

Definition at line 603 of file capi20.h.

#define S_CONF_BEGIN   0x0017

Definition at line 602 of file capi20.h.

#define S_CONF_DROP   0x001a

Definition at line 605 of file capi20.h.

#define S_CONF_ISOLATE   0x001b

Definition at line 606 of file capi20.h.

#define S_CONF_NOTIFICATION   0x8017

Definition at line 613 of file capi20.h.

#define S_CONF_PARTYDISC   0x8016

Definition at line 612 of file capi20.h.

#define S_CONF_REATTACH   0x001c

Definition at line 607 of file capi20.h.

#define S_CONF_SPLIT   0x0019

Definition at line 604 of file capi20.h.

#define S_ECT   0x0006

Definition at line 588 of file capi20.h.

#define S_GET_SUPPORTED_SERVICES   0x0000

Definition at line 582 of file capi20.h.

#define S_HOLD   0x0002

Definition at line 584 of file capi20.h.

#define S_INTERROGATE_DIVERSION   0x000b /* or interrogate parameters */

Definition at line 594 of file capi20.h.

#define S_INTERROGATE_NUMBERS   0x000c

Definition at line 595 of file capi20.h.

#define S_LISTEN   0x0001

Definition at line 583 of file capi20.h.

#define S_MWI_ACTIVATE   0x0013

Definition at line 600 of file capi20.h.

#define S_MWI_DEACTIVATE   0x0014

Definition at line 601 of file capi20.h.

#define S_MWI_INDICATE   0x8014

Definition at line 611 of file capi20.h.

#define S_RESUME   0x0005

Definition at line 587 of file capi20.h.

#define S_RETRIEVE   0x0003

Definition at line 585 of file capi20.h.

#define S_SUSPEND   0x0004

Definition at line 586 of file capi20.h.

#define SELECTOR_DTMF   1

Definition at line 573 of file capi20.h.

#define SELECTOR_ECHO_CANCELLER   6

Definition at line 578 of file capi20.h.

#define SELECTOR_HANDSET   0

Definition at line 572 of file capi20.h.

#define SELECTOR_LINE_INTERCONNECT   5

Definition at line 577 of file capi20.h.

#define SELECTOR_POWER_MANAGEMENT   4

Definition at line 576 of file capi20.h.

#define SELECTOR_SU_SERV   3

Definition at line 575 of file capi20.h.

#define SELECTOR_V42BIS   2

Definition at line 574 of file capi20.h.

Typedef Documentation

Definition at line 364 of file capi20.h.

typedef struct _MSG_HEADER CAPI_MSG_HEADER

Definition at line 365 of file capi20.h.