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

📄 shpa3api.cs

📁 三汇模拟语音卡
💻 CS
📖 第 1 页 / 共 5 页
字号:
		[DllImport("SHP_A3.dll")]public static extern int SsmFastBwdPlay(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetPlayTime(int ch, uint dwTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayedTimeEx(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayingFileInfo(int ch , ref int pnFormat , ref int pnTotalTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetPlayPrct(int ch, uint dwPercentage);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayedTime(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayedPercentage(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDataBytesToPlay(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmCheckPlay(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayType(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayIndexString(int ch, string pszIdxStr);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayIndexList(int ch, ushort wIdxListLen, ref ushort pwIdxList);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopPlayIndex(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmClearFileList(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmAddToFileList(int ch, string pszFileName, int nFormat, uint dwStartPos, uint dwLen);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayFileList(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopPlayFileList(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayMem(int ch, int nFormat, byte[] pBuf, uint dwBufSize, uint dwStartOffset, uint dwStopOffset);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPlayOffset(int ch, ref uint pdwPlayOffset);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetStopPlayOffset(int ch, uint dwStopPlayOffset);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopPlayMem(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmClearPlayMemList();
		[DllImport("SHP_A3.dll")]public static extern int SsmAddToPlayMemList(byte[] pBuf, uint dwDataLen, int nFormat);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayMemList(int ch, ref ushort pMemList, ushort wMemListLen);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopPlayMemList(int ch);

		[DllImport("SHP_A3.dll")]public static extern int SsmSetDTMFStopPlayCharSet(int ch, string lpstrDtmfCharSet);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDTMFStopPlayCharSet(int ch, StringBuilder lpstrDtmfCharSet);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetHangupStopPlayFlag(int ch, bool bHangupStopRecFlag);
		[DllImport("SHP_A3.dll")]public static extern int SsmPlayMemBlock(int ch, int nFormat, byte[] pBuf, uint dwBufSize, PLAYMEMBLOCKHANDLER OnPlayMemBlockDone, IntPtr pV);

		[DllImport("SHP_A3.dll")]public static extern int SsmStopPlayMemBlock(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDataBytesPlayed(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetPlayGain(int ch, ushort wGainLevel);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetLine0OutTo(bool bEnable);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@    RECORD OPERATION   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmSetRecVolume(int ch, int nVolume);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRecType(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmRecToFile(int ch, string pszFileName, int nFormat, uint dwStartPos, uint dwBytes, uint dwTime, int nMask);
		[DllImport("SHP_A3.dll")]public static extern int SsmRecToFileA(int ch, string pszFileName, int nFormat,
					   uint dwStartPos, uint dwBytes, uint dwTime, int nMask,
					   LPRECTOMEM	pfnRecToMem);

		[DllImport("SHP_A3.dll")]public static extern int SsmRecToFileB(int ch, string pszFileName, int nFormat,
					   uint dwStartPos, uint dwBytes, uint dwTime, int nMask,
					   LPRECTOMEMB	pfnRecToMem, IntPtr pV);


		[DllImport("SHP_A3.dll")]public static extern int SsmRecToFileEx(int ch, string pszFileName, int nFormat,
					   uint dwStartPos, uint dwBytes, uint dwTime, int nMask,
					   bool bSaveToFileOnBargin, uint dwRollbackTime);

		[DllImport("SHP_A3.dll")]public static extern int SsmPauseRecToFile(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmRestartRecToFile(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRecTime(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDataBytesToRecord(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopRecToFile(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmChkRecToFile(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmRecToMem(int ch, int nFormat, byte[] pBuf, uint dwBufSize, uint dwStartOffset);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopRecToMem(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRecOffset(int ch);

		[DllImport("SHP_A3.dll")]public static extern int SsmGetRecAGCSwitch(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetRecAGC(int ch, bool bEnable);

		[DllImport("SHP_A3.dll")]public static extern int SsmQueryOpRecMixer(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetRecMixer(int ch, bool bEnRecMixer, int nMixerVolume);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRecMixerState(int ch, ref int  pnEnRecMixer, ref int  pnMixerVolume);

		[DllImport("SHP_A3.dll")]public static extern int SsmSetPrerecord(int ch, bool bEnable, int nMode, ushort wInsertTime, int nFormat);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetTruncateTail(int ch, uint	dwTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetTruncateTailTime(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPrerecordState(int ch, ref int  pnMode, ref ushort pwInsertTime, ref int  pnFormat);

		[DllImport("SHP_A3.dll")]public static extern int SsmSetDTMFStopRecCharSet(int ch, string lpstrDtmfCharSet);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDTMFStopRecCharSet(int ch, StringBuilder lpstrDtmfCharSet);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetHangupStopRecFlag(int ch, bool bHangupStopRecFlag );
		[DllImport("SHP_A3.dll")]public static extern int SsmCheckRecord(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmRecordMemBlock(int ch, int nFormat, byte[] pBuf,
					   uint dwBufSize, RECORDMEMBLOCKHANDLER OnRecMemBlockDone, IntPtr pV);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopRecordMemBlock(int ch);

		[DllImport("SHP_A3.dll")]public static extern int SsmSetNoModuleChBusRec(int ch, int bBusRec);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@   RxDTMF OPERATION   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmEnableRxDtmf(int ch, bool bRun);
		[DllImport("SHP_A3.dll")]public static extern int SsmClearRxDtmfBuf(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetDtmfStr(int ch, StringBuilder pszDtmf);
		[DllImport("SHP_A3.dll")]public static extern string SsmGetDtmfStrA(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRxDtmfLen(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet1stDtmf(int ch, char[]  pcDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet1stDtmfClr(int ch, char[]  pcDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetLastDtmf(int ch,ref char  pcDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetWaitDtmf(int ch, ushort wTimeOut, ushort wMaxLen, char cEndChar, bool bWithEndChar);
		[DllImport("SHP_A3.dll")]public static extern int SsmChkWaitDtmf(int ch, string	pszDtmf);

		[DllImport("SHP_A3.dll")]public static extern int SsmCancelWaitDtmf(int ch);	
		[DllImport("SHP_A3.dll")]public static extern int SsmSetWaitDtmfEx(int ch, ushort wTimeOut, ushort wMaxLen, char cEndChar, bool bWithEndChar);

		// 设置接收DTMF字符回调函数:
		[DllImport("SHP_A3.dll")]public static extern int SsmSetRxDtmfHandler(int ch, RXDTMFHANDLER OnRcvDtmf, IntPtr pV);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetWaitDtmfExA(int ch, ushort wTimeOut, ushort wMaxLen, char[]  szEndChar, bool bWithEndChar);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@ TXDTMF OPERATION  @@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmQueryTxDtmf(int ch, string pszDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmQueryTxFlash(int ch, string pszDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetTxDtmfPara(int ch, ushort wOnTime, ushort wOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetTxDtmfPara(int ch, ushort[] pwOnTime,  ushort[] pwOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmTxDtmf(int ch, string pszDtmf);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopTxDtmf(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmChkTxDtmf(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmTxFlash(int ch, ushort time);
		[DllImport("SHP_A3.dll")]public static extern int SsmChkTxFlash(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetTxFlashCharTime(int ch, ushort time);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetTxFlashCharTime(int ch);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@ INTER-CH OPERATION  @@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmSetLocalFlashTime(int nFlashTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetASDT(int ch, bool bEnAutoSendDialTone);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetASDT(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetASTOD(int ch, bool bEnAutoSendDialTone);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetASTOD(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetFlashCount(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmClearFlashCount(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetHookState(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStartRing(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopRing(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStartRingWithFskCID(int ch, string pBuf, uint dwMaxBit, uint dw1stRingOffDelay);
		[DllImport("SHP_A3.dll")]public static extern int SsmStartRingWithCIDStr(int ch, string pBuf, uint dwLen, uint dw1stRingOffDelay);
		[DllImport("SHP_A3.dll")]public static extern int SsmCheckSendRing(int ch, ref int  pnCnt);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@ SEND TONE OPERATION  @@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmQueryOpSendTone(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSendTone(int ch, int nToneType);
		[DllImport("SHP_A3.dll")]public static extern int SsmSendToneEx(int ch, uint dwOnTime, uint dwOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmStopSendTone(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetTxTonePara(int ch, int nFreq1, int nVolume1, int nFreq2, int nVolume2);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetTxTonePara(int ch, ref int  pnFreq1, ref int  pnVolume1, ref int  pnFreq2, ref int  pnVolume2);
		[DllImport("SHP_A3.dll")]public static extern int SsmChkSendTone(int ch, ref int  pnToneType);

		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@ TONE ANALYZE OPERATION  @@@@@@@@@@@@@@@@@@@@@@@@@@@
		//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
		[DllImport("SHP_A3.dll")]public static extern int SsmQueryOpToneAnalyze(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmClearToneAnalyzeResult(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmStartToneAnalyze(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmCloseToneAnalyze(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetOverallEnergy(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetVocFxFlag(int ch, int nSelFx, bool bClear);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetToneAnalyzeResult(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetBusyToneLen(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetBusyToneCount(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRingEchoToneTime(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetBusyToneEx(int ch);

		[DllImport("SHP_A3.dll")]public static extern int SsmSetTonePara(int ch, ushort wToneFreq1,ushort wToneBW1,ushort wToneFreq2,ushort wToneBW2,uint dwIsToneRatio);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetIsDialToneDtrTime(int ch, ushort wIsDialToneDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetBusyTonePeriod(int ch, ushort wBusyTonePeriod);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetIsBusyToneDtrCnt(int ch, ushort wIsBusyToneDtrCnt);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetRingEchoTonePara(int ch, ushort wRingEchoOnTime,ushort wRingEchoOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetVoiceFxPara(int ch, ushort wSelFx, ushort wFx,ushort wFxBW, uint dwIsVocFxRatio, ushort wIsVocFxDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetVoiceOnDetermineTime(int ch, ushort wIsVocDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetMinVocDtrEnergy(int ch, uint dwMinVocDtrEnergy);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetTonePara(int ch, ref ushort pwToneFreq1, ref ushort pwToneBW1,ref ushort pwToneFreq2,ref ushort pwToneBW2,ref uint pdwIsToneRatio);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetIsDialToneDtrTime(int ch, ref ushort pwIsDialToneDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetBusyTonePeriod(int ch, ref ushort pwBusyTonePeriod);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetIsBusyToneDtrCnt(int ch, ref ushort pwIsBusyToneDtrCnt);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetRingEchoTonePara(int ch, ref ushort pwRingEchoOnTime, ref ushort pwRingEchoOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetIsNoVocDtrmTime(int ch, ref ushort pwIsNoVocDtrmTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetVoiceFxPara(int ch, ushort wSelFx, ref ushort pwFx,ref ushort pwFxBW, ref uint pdwIsVocFxRatio, ref ushort pwIsVocFxDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetVoiceOnDetermineTime(int ch, ref ushort pwIsVocDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetMinVocDtrEnergy(int ch, ref uint pdwMinVocDtrEnergy);

		[DllImport("SHP_A3.dll")]public static extern int SsmQueryOpPeakFrqDetect(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetPeakFrqDetectBW(int ch, ushort nPeakBW);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPeakFrqDetectBW(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPeakFrqEnergy(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetPeakFrq(int ch);
		[DllImport("SHP_A3.dll")]public static extern uint SsmGetRecPlayEnergy(int ch, uint dwMask);

		[DllImport("SHP_A3.dll")]public static extern int SsmStart2ndToneAnalyzer(int ch, bool bEn);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndToneAnalyzerState(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSet2ndTonePara(int ch, ushort wToneFreq1,ushort wToneBW1,ushort wToneFreq2,ushort wToneBW2,uint dwIsToneRatio);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndTonePara(int ch, ref ushort pwToneFreq1, ref ushort pwToneBW1,ref ushort pwToneFreq2,ref ushort pwToneBW2,ref uint pdwIsToneRatio);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndToneAnalyzeResult(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmClear2ndToneAnalyzeResult(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndBusyToneLen(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndBusyToneCount(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSet2ndBusyTonePeriod(int ch, ushort wBusyTonePeriod);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndBusyTonePeriod(int ch, ref ushort pwBusyTonePeriod);
		[DllImport("SHP_A3.dll")]public static extern int SsmSet2ndIsBusyToneDtrCnt(int ch, ushort wIsBusyToneDtrCnt);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndIsBusyToneDtrCnt(int ch, ref ushort pwIsBusyToneDtrCnt);
		[DllImport("SHP_A3.dll")]public static extern int SsmSet2ndIsDialToneDtrTime(int ch, ushort wIsDialToneDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndIsDialToneDtrTime(int ch, ref ushort pwIsDialToneDtrTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSet2ndRingEchoTonePara(int ch, ushort wRingEchoOnTime,ushort wRingEchoOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmGet2ndRingEchoTonePara(int ch, ref ushort pwRingEchoOnTime, ref ushort pwRingEchoOffTime);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetBusyTonePeriodEx(int ch, int nType, ushort wMax, ref ushort pwPeriod);
		[DllImport("SHP_A3.dll")]public static extern int SsmGetBusyTonePeriodEx(int ch, int nType, ref ushort pwPeriod);
		[DllImport("SHP_A3.dll")]public static extern ushort SsmGetToneValue(int ch);
		[DllImport("SHP_A3.dll")]public static extern int SsmSetToneValue(int ch,ushort value);

⌨️ 快捷键说明

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