Share via


CeSvcAdd (Windows Embedded CE 6.0)

1/6/2010

This function adds a registry subkey for a service.

Syntax

HRESULT CeSvcAdd( 
  LPTSTR pszSvcName,
  LPTSTR pszSvcClass,
  LPVOID pSvcInfo
);

Parameters

  • pszSvcName
    [in] Pointer to the name of the registry subkey to add. Can be NULL.
  • pszSvcClass
    [in] Pointer to the service class. Can be NULL.
  • pSvcInfo
    [in] Pointer to information about the service.

Return Value

Returns S_OK if the operation completed successfully. Otherwise, this function returns a Microsoft Win32 error code.

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 coredll.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

ActiveSync Functions