CeGetDeviceId

This function returns a device identifier for the currently connected device.

Syntax

DWORD CeGetDeviceId(void);

Return Values

Valid device identifier indicates success. Zero indicates no device or invalid device. The value -1 indicates a guest device.

Remarks

This function is part of CEUTIL, a utility DLL for dealing with desktop registry entries for Windows CE. CEUTIL functions are for use by desktop applications that need to communicate remotely with Windows CE–based devices. These functions are not available to applications running on Windows CE–based devices.