读书人

在Pocket PC 下怎么获得PDA的生产厂商

发布时间: 2012-03-14 12:01:12 作者: rapoo

在Pocket PC 下如何获得PDA的生产厂商、模块标识等硬件信息?
在pocket pc下,刚开始考虑使用接口phoneGetDevCaps()获得PDA的生产厂商、模块标识等信息,可是返回的phoneInfo为空,phoneName为Cellur Phone。请问是不是用这个接口;如果是,用这个接口时该注意哪些问题?谢谢!

[解决办法]
如果你的只是是PPC而不是 PPC Phone的话这个函数是起不了作用的。
This function queries a specified phone device to determine its telephony capabilities.
GetSystemInfo可能能有些用,记不太清楚了。
[解决办法]
使用的函数应该没错。检查一下其他地方。

下面摘自MSDN:

PHONECAPS Structure
The PHONECAPS structure describes the capabilities of a phone device. The phoneGetDevCaps and TSPI_phoneGetDevCaps functions return this structure.

Members

dwProviderInfoOffset

Offset from the beginning of the structure to the variably sized field containing service provider-specific information.

This member provides information about the provider hardware and/or software, such as the vendor name and version numbers of hardware and software. This information can be useful when a user needs to call customer service with problems regarding the provider. The size of the field is specified by dwProviderInfoSize.

http://msdn2.microsoft.com/en-us/library/ms736603.aspx

读书人网 >Windows Mobile

热点推荐