How can i get the Type and Name of the device connected to Desktop

P

Priya

Hi all,
I want to know the device type( Pocket PC or Smartphone)and Name of the
device which is connected to the desktop.
Please give me some guidelines.
Thanks
supriya
 
W

Wade

RAPI does not let you get to these values.

You can get this information through RAPI2 interfaces, or there are
API finctions exposed by CEUtil.dll that get you what you need.

For CEUtil, look at:

CeGetDeviceId
CeSvcOpen(CESVC_DEVICEX, ...
CeSvcGetString(..., "DeviceType", ...

The trick is that this will only work if the device has a standard
partnership with Activesync. If it has a guest partnership it will
not work.

W
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top