Returns a device id for the currently connected device. This is part of CEUTIL, a utility dll for dealing with desktop registry entries for Windows CE.
Syntax
DWORD CeGetDeviceId(void);
Parameters
None.
Return value
Valid device ID, zero means no device or invalid device; -1 means a guest device.