I'm using a GetDeviceID() function from "GetUuid" Pocket PC 2003 SDK
Sample to obtain an unique device ID and it is working fine so far,
but I've faced a problem using it on an HP iPAQ hx2490 Pocket PC.
As prescribed the GetDeviceID() function makes an
IOCTL_HAL_GET_DEVICEID call with DEVICE_ID.dwSize member set to 0
(zero), to query the actual required size. Then a second call with
the returned required size set results (again) in
ERROR_INSUFFICIENT_BUFFER. Otherwise the function seems to work as
expected If I ignore the ERROR_INSUFFICIENT_BUFFER during that
second IOCTL_HAL_GET_DEVICEID call. Does somebody knows anything
about this issue or may be where I could get HP iPAQ specific info?
--
Stanimir <stanio(_at_)gbg.bg>