Smartphone DeviceId

hi all,

I am writing a function to retrieve the Device ID of a smartphone.
But i don't have the real smartphone. Can I use smartphone emulator to test this application (ie will samartphone emulator support this deviceID)?

Regards,
Rajesh

[333 byte] By [Acusis] at [2008-1-19]
# 1
The emulators generally don't support device ids, I haven't tried this with the new emulator but I suspect you'll either get an error returned or an empty buffer. Another problem you might encounter is on most Smartphone devices retrieving the device id requires a signed application since this api is priviledged. If your target device is Windows Mobile 5.0 you can use the new GetDeviceUniqueID API call which doesn't have this restriction.

Peter

PeterFoot at 2007-8-21 > top of Msdn Tech,Smart Device Development,Device Emulator General...
# 2
Peter is correct. The Device Emulator images currently do support the DEVICEID IOCTL or the GetDeviceId method.
MarkColburn at 2007-8-21 > top of Msdn Tech,Smart Device Development,Device Emulator General...
# 3
Is there an option to change the device id of the emulator?

Thx
Patrick

P.Eisel at 2007-8-21 > top of Msdn Tech,Smart Device Development,Device Emulator General...
# 4
No there is not.

Thanks,

Vladimir

VladimirFedorov at 2007-8-21 > top of Msdn Tech,Smart Device Development,Device Emulator General...