首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Windows Mobile >

在Pocket PC 下怎么获得PDA的生产厂商、模块标识等硬件信息

2012-03-14 
在Pocket PC 下如何获得PDA的生产厂商、模块标识等硬件信息?在pocket pc下,刚开始考虑使用接口phoneGetDevC

在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

热点排行