MSDN Library

CeSvcSetBinary

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


HRESULT CeSvcSetBinary( 
  HCESVC hSvc, 
  LPCTSTR pszValName,
  LPBYTE pszVal, 
  DWORD cbVal
);

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 a buffer containing the binary data to set.

cbVal

[in] Size of the binary data indicated by the pszVal parameter.

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

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.

Headerceutil.h
Librarycoredll.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft