|
|
Device information
Getting device information like serial number, OEM vendor, process type, owner data.
Articles at Pocket PC Developer Network
MSDN Technical Articles
Questions and Answers at www.cegadgets.com
DEVBUZZ.COM
-
Access the Pocket PC Owner Information using eVB
This is a follow up to the deVBuzz tip in the Microsoft Mobile Device Newsletter of March 28th. That tip, which you can read here; explained how to retrieve the Pocket PC Owner Information Using eVB. Since then I have had several several requests asking how eVB can retrieve the other information contained in this key. Luckily Christian Forsberg has come to the rescue with the following bit of code. In addition he introduced me to some neat free resources from Odyssey Software. The following code uses the free OSIUtil component from Odyssey Software.
-
Retrieve the Pocket PC Owner Information Using eVB
Sometimes it is useful to pre-fill user information, for example in registration screens. The Pocket PC owner information resides in the Windows CE registry in following key '\HKEY_CURRENT_USER\ControlPanel\Owner'. To access this information from eVB we will use three API calls; RegOpenKeyEx to open the specified key, RegQueryValueEx to read the sub-key value and RegCloseKey to clean up.
Libraries
-
Locale Control
ActiveX control.
The locale control provides information about the language and country in which a user's system is operating.
|