Freigeben über


CeSvcSetString (Windows CE 5.0)

Send Feedback

This function writes a string value to a registry subkey for a service.

HRESULT CeSvcSetString( HCESVC hSvc,LPCTSTR pszValName,LPCTSTR pszVal);

Parameters

  • hSvc
    [in] Handle to a registry subkey for a service.
  • pszValName
    [in] Pointer to the name of the value to set.
  • pszVal
    [in] Pointer to the value to set.

Return Values

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 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

OS Versions: Windows CE 3.0 and later.
Header: Ceutil.h.
Link Library: Coredll.lib.

See Also

ActiveSync Functions | CeSvcGetString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.