CeGetDeviceId

The CeGetDeviceID function returns an ID for a currently connected device.

Syntax

DEVICEID CeGetDeviceId (void);

Return Values

This function returns a unique ID for the currently connected device. Zero indicates no device or a nonvalid device, and -1 indicates a guest value.

Remarks

This function is part of Windows CE 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.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: ceutil.h
Library: ceutil.lib

See Also

ActiveSync API Functions

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.