CeGetSelectedDeviceId (Windows CE 5.0)

Send Feedback

This function returns an identifier for a currently selected device.

Syntax

DEVICEID CeGetSelectedDeviceId();

Return Values

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

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.

Requirements

Smartphone: Smartphone 2002 and later.
Pocket PC: Pocket PC 2000 and later.
OS Versions: Windows CE 3.0 and later.
Header: Ceutil.h.
Library: Ceutil.lib.

See Also

ActiveSync Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.