次の方法で共有


CeGetSelectedDeviceId (Windows Embedded CE 6.0)

1/6/2010

This function returns an identifier for a currently selected device.

Syntax

DEVICEID CeGetSelectedDeviceId();

Return Value

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 Embedded CE. CEUTIL functions are for use by desktop applications that need to communicate remotely with Windows Embedded CE–based devices. These functions are not available to applications running on Windows Embedded CE–based devices.

Requirements

Header ceutil.h
Library ceutil.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

ActiveSync Functions