⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tce1_32mt.h

📁 东进语音板卡开发
💻 H
📖 第 1 页 / 共 2 页
字号:
BOOL	WINAPI	t_DJUser_InitDialBufNew	(	int	userID	);
int	WINAPI	t_DJUser_GetDialNumNew	(	int	userID	);
char	WINAPI	t_DJUser_GetDialCodeNew	(	int	userID	);
char	WINAPI	t_DJUser_GetDialHitNew	(	int	userID	);
int	WINAPI	t_DJUser_SendDtmfStr	(	int	userID,	const	char*	pcDtmf	);
bool	WINAPI	t_DJUser_CheckDtmfSendEnd	(	int	userID	);
int	WINAPI	t_DJUser_PlayPromptStr	(	int	userID,	const	char*	pcPromptStr	);
bool	WINAPI	t_DJUser_CheckPlayPromptStrEnd	(	int	userID	);
////*/
int	WINAPI	t_DJVoc_GetTotalVoiceChannel	(	void	);
int	WINAPI	t_DJVoc_VoiceStart	(	int iVoiceID, int 	voiceResHandle,DWORD	voiceResSize,DWORD	voiceResOffset,VoiceResourcesType	voiceResType,VoiceOperatorType	voiceOpType );
int	WINAPI	t_DJVoc_PlayNextVoice	(	int	voiceID,	int 	voiceResHandle,DWORD	voiceResSize,DWORD	voiceResOffset );
BOOL	WINAPI	t_DJVoc_FromHeadRePlay	(	int	voiceID	);
int	WINAPI	t_DJVoc_PlayPromptFile	( int	voiceID,	const	char*	voiceName	);
int	WINAPI	t_DJVoc_LoopPlayPromptFile	(int	voiceID,	const	char*	voiceName	);
BOOL	WINAPI	t_DJVoc_PlayPromptID	(	int	voiceID,	int	voiceResID	);
BOOL	WINAPI	t_DJVoc_LoopPlayPromptID	(	int	voiceID,	int	voiceResID	);
BOOL	WINAPI	t_DJVoc_PauseChannelVoiceOp	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_ContinueChannelVoiceOp	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_CheckChannelVoicePause	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_VoiceStop	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_CheckVoiceEnd	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_CheckVoiceChannelOp	(	int	voiceID	);
long	WINAPI	t_DJVoc_GetVoiceDataLength	(	int	voiceID	);
int	WINAPI	t_DJVoc_GetVoiceHandle	(	int	voiceID	);
int	WINAPI	t_DJVoc_GetVoiceErr	(	int	voiceID	);
VoiceResourcesType	WINAPI	t_DJVoc_GetVoiceResourceType	(	int	voiceID	);
VoiceOperatorType	WINAPI	t_DJVoc_GetVoiceOperateType	(	int	voiceID	);
BOOL	WINAPI	t_DJVoc_GetPromptInfoByName	(	const	char*	voiceName,	int   * voiceHandle,DWORD * voiceSize,DWORD * voiceOffset );
BOOL	WINAPI	t_DJVoc_GetPromptInfoByHandle	(	int	voiceResID,	int   * voiceHandle,DWORD * voiceSize,DWORD * voiceOffset );
int	WINAPI	t_DJVoc_SearchFreeVoiceChannelForPlay	(	void	);
int	WINAPI	t_DJVoc_SearchFreeVoiceChannelForRecord	(	void	);
int	WINAPI	t_DJVoc_SFVC_ForPlay	(	int	trunkID	);
int	WINAPI	t_DJVoc_SFVC_ForRecord	(	int	trunkID	);
int	WINAPI	t_DJVoc_GetRecordTrunkID	(	int	voiceID	);
int	WINAPI	t_DJVoc_GetRecordUserID	(	int	voiceID	);
BOOL	WINAPI	t_DJExg_SetListenUserToUser	(	int	trgUserID,	int	srcUserID	);
BOOL	WINAPI	t_DJExg_ClearListenUserFromUser	(	int	trgUserID	);
BOOL	WINAPI	t_DJExg_SetListenUserToTrunk	(	int	userID,	int	trunkID	);
BOOL	WINAPI	t_DJExg_ClearListenUserFromTrunk	(	int	userID	);
BOOL	WINAPI	t_DJExg_SetListenTrunkToUser	(	int	trunkID,	int	userID	);
BOOL	WINAPI	t_DJExg_ClearListenTrunkFromUser	(	int	trunkID	);
BOOL	WINAPI	t_DJExg_SetListenTrunkToTrunk	(	int	trgTrunkID,	int	srcTrunkID	);
BOOL	WINAPI	t_DJExg_ClearListenTrunkFromTrunk	(	int	trgTrunkID	);
BOOL	WINAPI	t_DJExg_SetLinkTrunkAndUser		(	int	trunkID,	int	userID	);
BOOL	WINAPI	t_DJExg_ClearLinkTrunkAndUserByTrunk	(	int	trunkID	);
BOOL	WINAPI	t_DJExg_ClearLinkTrunkAndUserByUser	(	int	userID	);
BOOL	WINAPI	t_DJExg_SetLinkTrunkAndTrunk	(	int	trgTrunkID,	int	srcTrunkID	);
BOOL	WINAPI	t_DJExg_ClearLinkTrunkAndTrunk	(	int	trunkID	);
BOOL	WINAPI	t_DJExg_LinkUserAndUser	(	int	trgUserID,	int	srcUserID	);
BOOL	WINAPI	t_DJExg_ClearLinkUserAndUser	(	int	userID	);
BOOL	WINAPI	t_DJExg_SetLinkPlayVoiceToTrunk	(	int	trunkID,	int	voiceID/*rem	by	H.J.N*//*,	BOOL	conn=TRUE*/	);
void	WINAPI	t_DJExg_VoiceToTrunk_SetParam	(	BOOL	conn	);
BOOL	WINAPI	t_DJExg_ClearLinkPlayVoiceFromTrunk	(	int	trunkID	);
BOOL	WINAPI	t_DJExg_SetLinkPlayVoiceToUser	(	int	userID,	int	voiceID	);
BOOL	WINAPI	t_DJExg_ClearLinkPlayVoiceFromUser	(	int	userID	);
BOOL	WINAPI	t_DJExg_SetLinkRecordVoiceToUser	(	int	userID,	int	voiceID	);
BOOL	WINAPI	t_DJExg_ClearLinkRecordVoiceFromUser	(	int	userID	);
BOOL	WINAPI	t_DJExg_SetLinkRecordVoiceToTrunk	(	int	trunkID,	int	voiceID	);
BOOL	WINAPI	t_DJExg_ClearLinkRecordVoiceFromTrunk	(	int	trunkID	);
int	WINAPI	t_DJSys_GetPcmNum	(	void	);
UINT	WINAPI	t_DJSys_GetImpExpNum	(	int	ImpExpType	);
DWORD	WINAPI	t_DJSys_GetTotalImpExpNum	(	int	ImpExpType	);
UINT	WINAPI	t_DJSys_GetPcmImpExpNum	(	int	pcmID,	int	ImpExpType	);
DWORD	WINAPI	t_DJSys_GetPcmTotalImpExpNum	(	int	pcmID,	int	ImpExpType	);
BYTE	WINAPI	t_DJSys_GetPcmStatus	(	int	pcmID	);
void	WINAPI	t_DJSys_StopWarning	(	void	);
void	WINAPI	t_DJSys_EnableWarn	(	void	);
void	WINAPI	t_DJSys_DisableWarn	(	void	);
void	WINAPI	t_DJSys_GetSysRunTime	(	DWORD*	hours,	BYTE*	minutes,	BYTE*	seconds	);
void	WINAPI	t_DJSys_GetSysTime	(	BYTE*	hours,	BYTE*	minutes,	BYTE*	seconds	);
void	WINAPI	t_DJSys_SetSysTime	(	BYTE	hours,	BYTE	minutes,	BYTE	seconds	);
PstnErr	WINAPI	t_DJSys_GetErrCode	(	void	);
int	WINAPI	t_DJSys_FreeMfcNum	(	void	);
int	WINAPI	t_DJSys_FreePlayVoiceNum	(	void	);
int	WINAPI	t_DJSys_FreeDtmfNum	(	void	);
int	WINAPI	t_DJSys_FreeMfcNumNew	(	int	trunkID	);
int	WINAPI	t_DJSys_GetCardType	(	void	);
char*	WINAPI	t_DJSys_GetInstallDir	(	void	);
void	WINAPI	t_DJSys_AutoApplyDtmf	(	int	DtmfMode	);
BOOL	WINAPI	t_DJSys_IsAutoApplyDtmf	(	void	);
void	WINAPI	t_DJSys_EnableAutoKB	(	void	);
void	WINAPI	t_DJSys_DisableAutoKB	(	void	);
bool	WINAPI	t_DJSys_EnableDtmfSend	(	);
BOOL	WINAPI	t_DJVoc_PlayFile	(	int	trunkID,	char	*FileName	);
void	WINAPI	t_DJVoc_StopPlayFile	(	int	trunkID	);
void	WINAPI	t_DJVoc_InitIndexPlayFile	(	int	trunkID	);
BOOL	WINAPI	t_DJVoc_AddIndexPlayFile	(	int	trunkID,	char	*FileName	);
BOOL	WINAPI	t_DJVoc_StartIndexPlayFile	(	int	trunkID	);
void	WINAPI	t_DJVoc_StopIndexPlayFile	(	int	trunkID	);
BOOL	WINAPI	t_DJVoc_CheckIndexPlayEnd	(	int	trunkID	);
BOOL	WINAPI	t_DJVoc_RecordFile	(	int	trunkID,	char	*FileName,	DWORD	RecordLen	);
void	WINAPI	t_DJVoc_StopRecordFile	(	int	trunkID	);
void	WINAPI	t_DJTrk_GetMfcCodeA	(	int	trunkID,	LPSTR	MfcCode	)	;
void	WINAPI	t_DJTrk_GetHostCodeA	(	int	trunkID,	char	*HostCode	);
void	WINAPI	t_DJTrk_GetDtmfCodeA	(	int	trunkID,	char	*DtmfCode	);
int	WINAPI	t_DJVoc_RecordFileNew	(	int	trunkID,	char	*FileName,	DWORD	Position,	DWORD	Length	);
int	WINAPI	t_DJVoc_PlayFileNew	(	int	trunkID,	char	*FileName,	DWORD	Position,	DWORD	Length	);
BOOL	WINAPI	t_DJTrk_SetDLLowBit	(	int	trunkID,	BYTE	byLowBit	);
void	WINAPI	t_DJSys_DialStatusAfterKB	(	int	mode	);
int	WINAPI	t_DJVoc_StopPlayMemory	(	int	voiceID	);
int	WINAPI	t_DJVoc_PlayMemory	(	int	voiceID, char	*p,	WORD	wPlayLen	);
/////////////////////////////////////

//................传真函数......................................................
//初始化函数
int   WINAPI t_DJFax_DriverReady(WORD wBuffSize);
void  WINAPI t_DJFax_DisableCard(void);
void  WINAPI t_DJFax_GetSysInfo(FAX_SYS_INFO far* TmpInfo);
int   WINAPI t_DJFax_GetTotalFaxChnl(void);

//自环的连通函数
int  WINAPI t_DJFax_SelfCheckSetLink(WORD wChnl);
int  WINAPI t_DJFax_SelfCheckBreakLink(WORD wChnl);

//与模拟语音卡的连通函数
int  WINAPI t_DJFax_SetLink(WORD wFaxChnl,WORD wVoiceChnl);
int  WINAPI t_DJFax_ClearLink(WORD wFaxChnl,WORD wVoiceChnl);
int  WINAPI t_DJFax_GetVoiceChnlOfFaxChnl(WORD wFaxChnl);
int  WINAPI t_DJFax_GetFaxChnlOfVoiceChnl(WORD wVoiceChnl);

//发送及接收函数
int   WINAPI t_DJFax_GetOneFreeFaxChnl(void);
int   WINAPI t_DJFax_GetOneFreeFaxChnlOld(void);
int   WINAPI t_DJFax_SetResolution(WORD wChnl,int ResolutionFlag);
int   WINAPI t_DJFax_SendFaxFile(WORD wChnl,char *FileName);
int   WINAPI t_DJFax_RcvFaxFile(WORD wChnl,char* FileName);
int   WINAPI t_DJFax_CheckTransmit(WORD wChnl);
void  WINAPI t_DJFax_StopFax(WORD wChnl);
int   WINAPI t_DJFax_SetLocalID(WORD wChnl,char far *s);
int   WINAPI t_DJFax_GetLocalID(WORD wChnl,char far *s);
long  WINAPI t_DJFax_GetRcvBytes(WORD wChnl);
long  WINAPI t_DJFax_GetSendBytes(WORD wChnl);
int   WINAPI t_DJFax_SetDialNo(WORD wChnl,char* DialNo);
int   WINAPI t_DJFax_GetErrCode(WORD wChnl);
int   WINAPI t_DJFax_GetErrPhase(WORD wChnl);
int   WINAPI t_DJFax_GetErrSubst(WORD wChnl);

//有关转换的函数
int   WINAPI t_DJCvt_InitConvert(void);
void  WINAPI t_DJCvt_DisableConvert(void);
int   WINAPI t_DJCvt_Open(WORD wChnl,char *cbFaxFileName,BYTE cbResolution,WORD wPageLineNo);
int   WINAPI t_DJCvt_Close(WORD wChnl);
int   WINAPI t_DJCvt_DotLine(WORD wChnl,char *cbDotStr,WORD wDotSize,WORD wDotFlag);
int   WINAPI t_DJCvt_LeftLine(WORD wChnl);
int   WINAPI t_DJCvt_TextLineA(WORD wChnl,char* cbTextStr,int DoubleBitFlag,int DoubleLineFlag,int FontSize);
int   WINAPI t_DJCvt_TextLine(WORD wChnl,char *cbTextStr);
int   WINAPI t_DJCvt_BmpFileA(WORD wChnl,char *cbBmpFileName,int DoubleBitFlag);
int   WINAPI t_DJCvt_BmpFile(WORD wChnl,char *cbBmpFileName);

/////////////////////////////////////////////////////////////////
//Add for control.
//int ConvertTrunkIDFromVoiceID(int VoiceID);




#if defined(__cplusplus)
}

#endif 



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -