PC Review


Reply
Thread Tools Rate Thread

Cannot get Device ID on Pocket PC 4.2

 
 
=?Utf-8?B?amtsaWdlcg==?=
Guest
Posts: n/a
 
      23rd Jan 2004
I have been using the code posted on http://msdn.microsoft.com/library/de...vedeviceid.asp to get the device ID on Pocket PC 3.0 devices, and it is working well. However, this code does not work on devices which are running the 4.2 OS.

Anybody knows how to get the device ID on Pocket PC 4.2?

The failure mode on the 4.2 devices is that the KernelIoControl call always returns a status of ERROR_INSUFFICIENT_BUFFER. It tells you that the required buffer size is 36, but gives this error even when the buffer size is set to 36. The only time is returns success is when the buffer size is set to 16. But then it returns a buffer that does not contains the correct information.

Thanks,
Joseph Kliger

 
Reply With Quote
 
 
 
 
=?Utf-8?B?amtsaWdlcg==?=
Guest
Posts: n/a
 
      23rd Jan 2004
Magnus,
Thank you for your answer to my post. However, the code you sent did not get through. Can you please send it directly to me at (E-Mail Removed)?

Thanks,

- Joseph Kliger
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Mobile Device Center does not translate Pocket Word and Pocket Excel peppe Windows Vista General Discussion 3 8th Feb 2008 01:38 AM
How Can I Get the Device ID of a Pocket PC =?Utf-8?B?TGVvREo=?= Microsoft Dot NET Compact Framework 2 3rd Jun 2004 01:14 AM
How To Copy File using compact framework from Desktop to Pocket PC device when application is running on Pocket PC msnews.microsoft.com Microsoft Dot NET Compact Framework 2 10th May 2004 06:11 AM
How To Copy File using compact framework from Desktop to Pocket PC device when application is running on Pocket PC msnews.microsoft.com Microsoft Dot NET Compact Framework 0 8th May 2004 09:37 AM
which pocket PC device to buy amy Microsoft Dot NET Compact Framework 2 21st Nov 2003 06:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:12 PM.