📄 dm3ntsch.h
字号:
///////////////////////////////////////////////////////////////////////
// File Name: DM3TSCAPPHNDLR.H
//
// Header file for DM3TSCAPPHNDLR.C
//
///////////////////////////////////////////////////////////////////////
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED
// TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) 1997 Dialogic Corporation. All Rights Reserved.
///////////////////////////////////////////////////////////////////////
#ifndef _DM3NTSCH_H
#define _DM3NTSCH_H
#include <windows.h>
#include <stdio.h>
// Dialogic header files
#include <QHostLib.h>
#include <MercDefs.h>
#include <StdDefs.h>
#include <QMsg.h>
#include <NTscDefs.h>
// DM3 C Application Framework Header files
#include <Dm3comp.h>
#include <Dm3NTsc.h>
#include "Dm3NTscH.h"
#ifdef __cplusplus
extern "C" {
#endif __cplusplus
/***********************
* *
* Function Prototypes *
* *
***********************/
/* Entry point function for handling of all TSC & NetTSC messages
the events coming back from the Firmware. This function
processes any event data maintained by the library, then
routes all events and messages to lower level handlers */
LPVOID Dm3NetTscEvtHndlr (LPDM3COMP pComp,
ULONG ulCmdType,
ULONG ulReplyType,
QMsgRef pReplyMsg);
/* Application Event Handler for Timeout Error condition */
LPVOID OnNetTscCmdTimedOut (LPDM3NetTSC pNetTsc,
ULONG ulCmdType);
/* Called when NetTSC_..H245Data event is recieved */
LPVOID OnNetTscH245DataEvt (LPDM3NetTSC pNetTsc,
NetTSC_EvtH245Data_t *pEvtData);
/* Extract reply information */
LPVOID NetTsc_Extract_Reply_Info (LPDM3TSC lpTsc,
TSC_CallInfo_t callInfo,
QMsgRef reply,
UInt32 *pOffset);
/* Gets the appropriate pointer in CallParameters structure */
LPVOID NetTsc_GetCallParmPtr (LPDM3TSC pTsc,
UInt32 Id);
/* Called when call state event is recieved */
LPVOID OnNetTscCallStateEvt (LPDM3TSC pTsc,
TSC_EvtCallState_t *pEvtData);
/* Called when TSC_GetCallInfoCmplt is recieved */
LPVOID OnNetTscGetCallInfoCmplt (LPDM3TSC pTsc,
QMsgRef pReplyMsg,
Std_MsgError_t *pStdErr);
/* Called when channel state event is recieved */
LPVOID OnNetTscChanStateEvt (LPDM3TSC pTsc,
TSC_EvtChanState_t *pEvtData);
/* called when a respond to make call is recieved */
LPVOID OnNetTscMakeCallCmplt (LPDM3TSC pTsc,
TSC_MsgMakeCallCmplt_t *pEvtData,
Std_MsgError_t *pStdErr);
/* Application Event Handler for standard message responses */
LPVOID OnNetTscStdMsgCmplt (LPDM3TSC pTsc,
ULONG ulCmdType,
ULONG ulReplyType,
QMsgRef pReplyMsg);
/* Called when a respond to TSC_GetCallState is recieved */
LPVOID OnNetTscGetCallStateCmplt (LPDM3TSC pTsc,
TSC_MsgGetCallStateCmplt_t *pEvtData,
Std_MsgError_t *pStdErr);
#ifdef __cplusplus
}
#endif __cplusplus
#endif _DM3NTSCH_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -