Is there any API which can get IMEI (device ID) of a device?

I found that KernelIoControl() function with IOCTL_HAL_GET_DEVICEID
parameter can do this . Form msdn it says:

Requirements
OS Versions: Windows CE 2.10 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

I used pocket pc 2003 SDK to develop Apps, but I don't find Pkfuncs.h in the
Include folder. Does it means that this function can't be used? or Do I miss
something to be able to use this function?

If this function does not support in pocket 2003 sdk, is there other methods
to get IMEI (device ID)??

thx

Re: how to retrieve pocket pc IMEI? by Peter

Peter
Wed Nov 23 04:14:28 CST 2005

The ID retrieved by that method is not the IMEI (although in a few cases
such as the HTC Himalaya they both share common digits). The IMEI can be
retrieved through TAPI see the replies to your other post.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Jingfu" <Jingfu@discussions.microsoft.com> wrote in message
news:AFB87F56-3744-4973-BE18-83157B261A23@microsoft.com...
> Is there any API which can get IMEI (device ID) of a device?
>
> I found that KernelIoControl() function with IOCTL_HAL_GET_DEVICEID
> parameter can do this . Form msdn it says:
>
> Requirements
> OS Versions: Windows CE 2.10 and later.
> Header: Pkfuncs.h.
> Link Library: Coredll.lib.
>
> I used pocket pc 2003 SDK to develop Apps, but I don't find Pkfuncs.h in
> the
> Include folder. Does it means that this function can't be used? or Do I
> miss
> something to be able to use this function?
>
> If this function does not support in pocket 2003 sdk, is there other
> methods
> to get IMEI (device ID)??
>
> thx
>
>
>