vbvoice.bas

来自「eVB 呼叫由eVC 所撰寫的DLL檔案達到使用程式來控制錄放音的要求」· BAS 代码 · 共 18 行

BAS
18
字号
Attribute VB_Name = "vbvoice"
' Declarations for the vbvoice.dll export functions
' vbvoice.dll is a custom dll that wraps the MS voicectl.dll


Const VRS_NO_RECORD = &H10
Const VRS_PLAY_MODE = &H20
Const VRS_NO_MOVE = &H40
Const VRS_HIDDEN = &H80


Declare Function vbCreateVoiceControl Lib "vbvoice.dll" (ByVal hWndParent As Long, ByVal dwFlags As Long, ByVal x As Integer, ByVal y As Integer, ByVal szFileName As String) As Boolean
Declare Function vbVoicePlay Lib "vbvoice.dll" () As Boolean
Declare Function vbVoiceRec Lib "vbvoice.dll" () As Boolean
Declare Function vbVoiceStop Lib "vbvoice.dll" () As Boolean
Declare Function vbVoiceOk Lib "vbvoice.dll" () As Boolean

⌨️ 快捷键说明

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