CeGetSelectedDeviceId

Returns a device id for the currently selected device. This is part of CEUTIL, a utility dll for dealing with desktop registry entries for Windows CE.

Syntax

DWORD CeGetSelectedDeviceId(void);

Parameters

None.

Return value

Valid device ID; zero means no device or invalid device; -1 means a guest device