CeSvcOpen Constant Enumeration (Windows CE 5.0)
The constants listed below are passed to the CeSvcOpen function. The constants map to specific registry keys.
Syntax
enum {
CESVC_ROOT_COMMON = 0,
CESVC_ROOT_MACHINE = CESVC_ROOT_COMMON,
CESVC_ROOT_USER,
CESVC_DEVICES,
CESVC_DEVICEX,
CESVC_DEVICE,
CESVC_DEVICE_SELECTED,
CESVC_SERVICES,
CESVC_SERVICES_USER = CESVC_SERVICES,
CESVC_SERVICES_COMMON,
CESVC_SYNC,
CESVC_SYNC_COMMON,
CESVC_FILTERS,
CESVC_SPECIAL_DEFAULTS,
CESVC_CUSTOM_MENUS,
CESVC_SYNCX
};
Remarks
The following table lists the possible Windows CE CEUTIL constants for uSvc and the associated registry keys.
Note MACHINE_ROOT refers to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE. LOCAL_ROOT refers to HKEY_CURRENT_USER\Software\Microsoft\Windows CE Service. In the following table, DeviceID is a hex value for the partnership ID — for example 50F01234.
Windows CE CEUTIL constants | Registry key | Description |
---|---|---|
CESVC_CUSTOM_MENUS | MACHINE_ROOT\CustomMenus | Root registry for custom menus. |
CESVC_DEVICE | HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\DeviceID | Currently connected device. |
CESVC_DEVICE_SELECTED | LOCAL_ROOT\Partners\DeviceID | Root subkey for the currently selected device. If a device is connected, the selected device is always the same as the connected device. |
CESVC_DEVICES | LOCAL_ROOT\Partners | Individual device subkeys. |
CESVC_DEVICEX | LOCAL_ROOT\Partners\DeviceID | Root subkey for a specific device. |
CESVC_FILTERS | MACHINE_ROOT\Filters | Root registry for filters. New filters should be registered here. |
CESVC_ROOT_COMMON | MACHINE_ROOT | Windows CE Services synchronization root hierarchy under HKEY_LOCAL_MACHINE. |
CESVC_ROOT_MACHINE | MACHINE_ROOT | Windows CE Services synchronization root hierarchy under HKEY_LOCAL_MACHINE. |
CESVC_ROOT_USER | LOCAL_ROOT | Windows CE Services root hierarchy under HKEY_CURRENT_USER. |
CESVC_SERVICES | LOCAL_ROOT\Partners\DeviceID\Services | Root services subkey for a connected device. |
CESVC_SERVICES_COMMON | MACHINE_ROOT\Services | Root registry for services. |
CESVC_SERVICES_USER = CESVC_SERVICES | LOCAL_ROOT\Partners\DeviceID\Services | Root services subkey for a specific device. |
CESVC_SPECIAL_DEFAULTS | HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\SpecialDefaults | Root registry for the synchronization-service overrides for specific devices. |
CESVC_SYNC | LOCAL_ROOT\Partners\DeviceID\Services\Synchronization | Synchronization registry root for a specific device. |
CESVC_SYNC_COMMON | MACHINE_ROOT\Services \Synchronization | Root registry for synchronization. New synchronization services should be registered here. |
CESVC_SYNCX | HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\DeviceID | Contains the value that is passed to the pszPath parameter in the CeSvcOpen function. |
Requirements
Pocket PC: Pocket PC 2000 and later.
Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: Ceutil.h.
See Also
ActiveSync Enumerations | CeSvcOpen
Send Feedback on this topic to the authors