Hi All,

Is it possible to read the owner phone number from wm5 device?

Re: Reading owner phone number from wm5 device by Isaac

Isaac
Thu Feb 14 08:09:56 CST 2008

You can get it with the rest of the owner info under
HKCU\ControlPanel\Owner.

PPC and SP are a little different. PPC stores a variable length
OWNER_PROFILE struct under value Owner, while SP stores individual string
values for each of the fields.




"Fatih" <efatihan@gmail.com> wrote in message
news:4a75a6f0-d171-4468-9c2b-cb9309d5f64c@z17g2000hsg.googlegroups.com...
> Hi All,
>
> Is it possible to read the owner phone number from wm5 device?
>
>



Re: Reading owner phone number from wm5 device by dbgrick

dbgrick
Thu Feb 14 08:53:01 CST 2008

This will only work if the users sets his phone number. Another way is to
use TAPI, but this only works if the SIM card has the phone number.
Unfortunately on some phones you will not be able to get the phone number of
the phone.

Rick D.

"Isaac Brock" wrote:

> You can get it with the rest of the owner info under
> HKCU\ControlPanel\Owner.
>
> PPC and SP are a little different. PPC stores a variable length
> OWNER_PROFILE struct under value Owner, while SP stores individual string
> values for each of the fields.
>
>
>
>
> "Fatih" <efatihan@gmail.com> wrote in message
> news:4a75a6f0-d171-4468-9c2b-cb9309d5f64c@z17g2000hsg.googlegroups.com...
> > Hi All,
> >
> > Is it possible to read the owner phone number from wm5 device?
> >
> >
>
>
>

Re: Reading owner phone number from wm5 device by Christian

Christian
Thu Feb 14 15:51:52 CST 2008

If you just want to read the "Owner Information" phone number then here's an
old article on how to do it from native code:
http://www.pocketpcdn.com/articles/ownerinformation.html

If you want to do it in managed code and you're using Windows Mobile 5 and
up then use the SNAPI:
http://msdn2.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemstate.ownerphonenumber.aspx

--
Regards,
Christian Resma Helle
http://christian-helle.blogspot.com


"dbgrick" <dbgrick@discussions.microsoft.com> wrote in message
news:69B17A4D-B248-410E-9FED-AD2B0CAAF1C9@microsoft.com...
> This will only work if the users sets his phone number. Another way is to
> use TAPI, but this only works if the SIM card has the phone number.
> Unfortunately on some phones you will not be able to get the phone number
> of
> the phone.
>
> Rick D.
>
> "Isaac Brock" wrote:
>
>> You can get it with the rest of the owner info under
>> HKCU\ControlPanel\Owner.
>>
>> PPC and SP are a little different. PPC stores a variable length
>> OWNER_PROFILE struct under value Owner, while SP stores individual string
>> values for each of the fields.
>>
>>
>>
>>
>> "Fatih" <efatihan@gmail.com> wrote in message
>> news:4a75a6f0-d171-4468-9c2b-cb9309d5f64c@z17g2000hsg.googlegroups.com...
>> > Hi All,
>> >
>> > Is it possible to read the owner phone number from wm5 device?
>> >
>> >
>>
>>
>>