谁能给一个关于对麦克风编程的例子,
解决方案 »
- dllexport和dllimport使用问题
- 在做编辑器的时候,如何能根据用户的编辑修改,实时反映出来?
- 如何将windows的开始菜单和整个任务栏都去掉?
- lib文件输出函数怎么看到?
- 天啊,救救 我,誰來救我?????有沒有人在,看看我的問題吧
- 关于OnContextmenu与OnRButtonDown的问题
- 关于WMV文件进度条问题!!!!!1
- 有办法在VS2008的标题栏显示打开的解决方案名称吗?
- 安装TCP/IP协议时,为什么出现"SURegCreateKey failed!"的提示!请问这是怎么回事!
- 在基于对话框程序中如何加入flashscreen
- 小弟初学:请问打开一个*.dsw文件后,发现类向导里,怎么有两个工程文件??
- 对传统编程方法的一些疑惑!
LONG WINAPI phoneOpen(
HPHONEAPP hPhoneApp,
DWORD dwDeviceID,
LPHPHONE lphPhone,
DWORD dwAPIVersion,
DWORD dwExtVersion,
DWORD_PTR dwCallbackInstance,
DWORD dwPrivilege
);Parameters
hPhoneApp
Handle to the application's registration with TAPI.
dwDeviceID
Identifier of the phone device to be opened.
lphPhone
Pointer to an HPHONE handle that identifies the open phone device. Use this handle to identify the device when invoking other phone control functions.
dwAPIVersion
API version number under which the application and Telephony API have agreed to operate. This number is obtained from phoneNegotiateAPIVersion.
dwExtVersion
Extension version number under which the application and the service provider agree to operate. This number is zero if the application does not use any extensions. This number is obtained from phoneNegotiateExtVersion.
dwCallbackInstance
User instance data passed back to the application with each message. This parameter is not interpreted by the Telephony API.
dwPrivilege
Privilege requested. This parameter uses one and only one of the PHONEPRIVILEGE_ Constants.
Return Values
Returns zero if the request succeeds or a negative error number if an error occurs. Possible return values are:PHONEERR_ALLOCATED, PHONEERR_NODRIVER, PHONEERR_BADDEVICEID, PHONEERR_NOMEM, PHONEERR_INCOMPATIBLEAPIVERSION, PHONEERR_OPERATIONFAILED, PHONEERR_INCOMPATIBLEEXTVERSION, PHONEERR_OPERATIONUNAVAIL, PHONEERR_INVALAPPHANDLE, PHONEERR_RESOURCEUNAVAIL, PHONEERR_INVALPOINTER, PHONEERR_UNINITIALIZED, PHONEERR_INVALPRIVILEGE, PHONEERR_REINIT, PHONEERR_INUSE, PHONEERR_NODEVICE, PHONEERR_INIFILECORRUPT.