亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? inter.h

?? Dialogic數字板卡示例程序
?? H
字號:
/****************************************************************************
*	Interface.h
*
*	This file will have the prototypes and the defines that relate to the 
*	interface of the Asynchronous demo
*
*	
************************************************************************/
#include <windows.h>
#include <windowsx.h>
#include "resource.h"
#include "answer.h"
#include "display.h"
#include "srllib.h"
#include "dxxxlib.h"
#include "dtilib.h"
#include "gclib.h"
#include "gcerr.h"

/*
 * definitions for the interface
 */
#define FONT_HEIGHT 12
#define ROW_HEIGHT (FONT_HEIGHT + 3)
#define FONT_WIDTH 8
#define FONT_TYPE "Ariel"
#define CHAN_BASE_ROW 4
#define NUM_ROWS (CHAN_BASE_ROW + MAXCHANS)  

#define MAIN_HEIGHT (NUM_ROWS * (ROW_HEIGHT))

/*
 * definitions for the stopping cause
 */
#define	NONE		-1
#define	USER_STOP	1
#define DISCONNECT	2

/**
 **   Data structure which defines the states for each channel
 **/
typedef struct dx_info {
   char     dev_name[ 100 ];	/* The device name( Vox and Dti ) */
   LINEDEV	ldev;				/* Line Device for GC */
   CRN		crn;				/* Call Reference Number for GC */
   int	    chdev;				/* Channel Device Descriptor    */
   int	    tsdev;				/* Timeslot Device Descriptor   */
   int		stop_cause;			/* A cause for stopping while channel is working */
   DV_DIGIT digbuf;				/* Buffer for DTMF Digits       */
   char	    file_name[ MAXMSG+1 ];	/* Playing or Recording Filename */
   char	    ac_code[ MAXDTMF+1 ];	/* Access Code for this Channel */
} DX_INFO;

/************************************************************************
*	FUNCTION :		InitApplication()
*	DESCRIPTION :	this function creates and registers the windows that
*					are used in this application
*	INPUTS :		The instance of the application.  
*	OUTPUTS :		TRUE or FALSE
************************************************************************/
BOOL InitApplication(HINSTANCE hInstance);


/****************************************************************************
*	FUNCTION:		InitMainWndInstance(HINSTANCE, int)
*	DESCRIPTION :	Saves instance handle and creates main window
*	INPUTS :		The instance of the  application and the Command concerning
*					the visibility of the window (MINIMIZED/MAXIMIZED)
*	OUTPUTS :		TRUE/FALSE
*	COMMENTS:		This function is called at initialization time for every 
*					instance of this application.  This function performs 
*					initialization tasks that cannot be shared by multiple instances.
*					In this case, we save the instance handle in a static variable 
*					and	create and display the main program window.
*
****************************************************************************/
BOOL InitMainWndInstance(HINSTANCE	hInstance,int nCmdShow);


/****************************************************************************
*	FUNCTION:		WndProc(HWND, UINT, WPARAM, LPARAM)
*	DESCRIPTION :	Processes messages for the main window of the application
*	INPUTS :		the handle to the window (can be used by more than one)
*					the message and message specific parameters
*	OUTPUTS :		NA
*	CAUTIONS :		This function is called internally by Windows (it is a 
*					callback function) anytime an event occurs within (or that
*					affects) that window.
****************************************************************************/
WINAPI WndProc(
		HWND hWnd,         // window handle
		UINT message,      // type of message
		WPARAM wParam,     // additional information
		LPARAM lParam);    // additional information


/***************************************************************
*	FUNCTION :		WinMain()
*	DESCRIPTION :	This is the main() of a windows app.  It contains
*					the Windows msg loop.
*	INPUTS :		the instance data, command line data
*	OUTPUTS :		response to OS
****************************************************************/
int WINAPI WinMain(
	HINSTANCE hInstance,
	HINSTANCE hPrevInstance,
	LPSTR lpCmdLine,
	int nCmdShow);


/***********************************************************************
*	FUNCITON :		ChildWndProc()
*	DESCRIPTION :	This function handles all of the messages that are passed to
*					the child windows.
*	INPUTS :		the handle to the window, the message and msg specific
*					parameters
*	
*************************************************************************/
WINAPI ChildWndProc(HWND hChild, UINT msg, WPARAM wParam, LPARAM lParam);


/***************************************************************************
*	FUNCTION :		PrintError()
*	DESCRIPTION :	This function will take any string parameters in the printf
*					format and will appent the error number of the last Windows 
*					error to it and display it in a MessageBox
*	INPUTS :		the printf wtyle string
*	OUTPUTS :		the message box
***************************************************************************/
void PrintError(char *szFormat, ...);


/***************************************************************************
*	FUNCTION :		RedrawRows(HWND hwnd, HDC hdc)
*	DESCRIPTION :	Redraws, row by row, the string which are to appear in our
*               main window.  Note these rows are found in the global
*               variable "gRowVal[][]".
*	INPUTS : the window to draw them in (here, the main window always)
*          the windows DC
*	OUTPUTS : rows rewitten in our main window
***************************************************************************/
void RedrawRows(HWND hwnd, HDC hdc);


/***************************************************************************
*	FUNCTION :		StartApp()
*	DESCRIPTION :	This function will dump the information to the window
*	INPUTS :		status of channels
*	OUTPUTS :		text (to the window)
***************************************************************************/
void StartApp();

/***************************************************************************
*	FUNCTION :		CheckDtiBoard()
*	DESCRIPTION :	This function will check the type of dti board and change
*					the attribute of Protocol Box and Voice Box
*	INPUTS :		The HWND and The dti board number.
*	OUTPUTS :		text (to the Protocol Box and the Voice Box)
***************************************************************************/
void CheckBoxes( HWND hwnd );

BOOL CALLBACK CSET_WndProc(HWND , UINT , WPARAM , LPARAM );	// Options/channel settings menu dialog box Handler
BOOL CALLBACK AboutDlgProc (HWND , UINT , WPARAM , LPARAM );
void ANSREXW_OnCommand(HWND , int , HWND , UINT );				// Window's WM_COMMAND handler
BOOL CSET_OnInitDialog(HWND , HWND , LPARAM );
void CSET_OnCommand(HWND , int , HWND , UINT );
BOOL BuildChanName(HANDLE);
int  GetDigitalBoard();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区在线影院| 日韩精品电影在线观看| 欧美一区二区三区系列电影| 欧美综合视频在线观看| 成人免费高清视频| 老色鬼精品视频在线观看播放| 亚洲高清免费在线| 午夜精品久久久久久久 | 麻豆精品久久精品色综合| 亚洲精品ww久久久久久p站| 国产午夜精品一区二区| 久久美女高清视频| 国产精品毛片大码女人| 国产精品久久免费看| 国产精品成人一区二区艾草| 亚洲丝袜精品丝袜在线| 一区二区三区久久久| 午夜激情一区二区三区| 麻豆91在线观看| 国产91富婆露脸刺激对白| 国产精品乡下勾搭老头1| 高清国产一区二区| 色综合亚洲欧洲| 欧美精品777| 久久精品人人做| 国产精品福利一区| 亚洲自拍偷拍欧美| 韩国毛片一区二区三区| 99国产一区二区三精品乱码| 欧美日韩1234| 久久久激情视频| 一区二区三区国产豹纹内裤在线| 日本欧洲一区二区| 成人视屏免费看| 91老司机福利 在线| 91精品午夜视频| 欧美激情一区二区在线| 亚洲一区二区三区国产| 九九**精品视频免费播放| 91蜜桃在线免费视频| 欧美一区二区福利视频| 中文字幕一区在线观看| 日韩精品高清不卡| 成人app网站| 欧美成人猛片aaaaaaa| 亚洲美女区一区| 国产寡妇亲子伦一区二区| 在线日韩国产精品| 精品国产乱码久久久久久免费 | 中文字幕在线不卡| 精品伊人久久久久7777人| 色婷婷综合在线| 国产亚洲欧洲一区高清在线观看| 亚洲一区二区三区在线播放| 国产成a人亚洲| 日韩欧美视频一区| 亚洲一区二区三区在线| 99久久夜色精品国产网站| 精品久久久久99| 亚洲国产精品一区二区久久恐怖片| 国产乱人伦偷精品视频免下载| 欧美日韩另类一区| 亚洲日本一区二区| 成人中文字幕电影| 久久久亚洲午夜电影| 久久精品国产一区二区三| 欧美老人xxxx18| 亚洲香蕉伊在人在线观| 日本丰满少妇一区二区三区| 国产精品女上位| 高清久久久久久| 中文字幕久久午夜不卡| 国产成人在线观看| 久久久不卡网国产精品一区| 激情深爱一区二区| 久久综合色8888| 国产又黄又大久久| 国产偷国产偷亚洲高清人白洁| 久久99国产精品久久99| 精品少妇一区二区三区在线播放| 日本亚洲最大的色成网站www| 欧美性一级生活| 亚洲美女屁股眼交3| 91久久人澡人人添人人爽欧美| 综合久久给合久久狠狠狠97色| 欧美日韩精品免费| 亚洲福利视频一区| 日韩视频一区二区| 精品一区二区在线看| 26uuu亚洲| 成人福利视频在线看| 1024成人网| 91成人看片片| 午夜a成v人精品| 精品嫩草影院久久| 国产不卡一区视频| 亚洲精品你懂的| 欧美乱妇20p| 韩国精品在线观看| 亚洲手机成人高清视频| 欧美日韩国产a| 麻豆精品视频在线观看| 中日韩免费视频中文字幕| 91久久精品国产91性色tv| 亚洲成a人片在线不卡一二三区| 日韩一区二区三区四区| 国产成人av影院| 亚洲精品国产精华液| 在线不卡一区二区| 国产成人啪午夜精品网站男同| 国产精品久久久久久久久免费相片 | 丰满放荡岳乱妇91ww| 亚洲国产综合人成综合网站| 日韩欧美123| 色狠狠色狠狠综合| 国产老肥熟一区二区三区| 一区二区三区自拍| 欧美精品一区二区三区蜜桃视频 | 91久久精品一区二区三区| 蜜桃传媒麻豆第一区在线观看| 国产精品热久久久久夜色精品三区| 欧美日韩在线播放三区四区| 开心九九激情九九欧美日韩精美视频电影 | 久久综合色播五月| 一本到不卡免费一区二区| 美国十次了思思久久精品导航| 国产精品蜜臀av| 精品免费一区二区三区| 欧美亚洲国产一区二区三区| 国产高清无密码一区二区三区| 婷婷开心久久网| 亚洲欧美一区二区在线观看| 777亚洲妇女| 日本乱人伦一区| 成人自拍视频在线观看| 久久精品国产精品青草| 亚洲bt欧美bt精品| 国产精品乱人伦| 精品人在线二区三区| 色菇凉天天综合网| 粉嫩av一区二区三区| 韩国v欧美v日本v亚洲v| 偷偷要91色婷婷| 亚洲成人一区在线| 一区二区久久久| 亚洲视频狠狠干| 国产精品免费久久久久| 国产日本一区二区| 久久只精品国产| 精品久久久久av影院| 精品黑人一区二区三区久久| 欧美日韩国产中文| 欧美日韩一区二区在线观看 | 欧美女孩性生活视频| 欧美视频日韩视频| 日本高清不卡视频| 欧美日韩国产另类一区| 欧美日韩美少妇| 91精品国产黑色紧身裤美女| 在线播放一区二区三区| 911国产精品| 日韩一级二级三级精品视频| 日韩欧美中文一区二区| 精品美女在线观看| 国产亚洲女人久久久久毛片| 国产日产欧美一区二区视频| 国产日本欧洲亚洲| 中文字幕视频一区| 亚洲综合色成人| 日韩在线卡一卡二| 久久99久久久久| 国产精品综合在线视频| 成人激情校园春色| 欧美性xxxxxx少妇| 欧美一区二区成人| 国产欧美日韩在线| 亚洲女与黑人做爰| 日韩高清电影一区| 风间由美性色一区二区三区| 一本色道久久综合亚洲精品按摩 | 午夜精品久久久久久久99水蜜桃| 日韩电影网1区2区| 国产精品自拍一区| 色综合色综合色综合色综合色综合| 91国偷自产一区二区三区观看| 欧美日韩国产系列| 日本一区二区三区高清不卡| 一区二区三区精品视频| 欧美a一区二区| 91视频在线看| 日韩欧美自拍偷拍| 国产精品国产自产拍高清av | 九一九一国产精品| 99久久夜色精品国产网站| 91精品久久久久久久久99蜜臂| 亚洲国产精品成人综合 | 欧美一区二区视频在线观看2020| 久久久三级国产网站| 亚洲成人免费视频| 成人看片黄a免费看在线|