Compartilhar via


CeSvcGetDword

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function retrieves a DWORD value from a registry subkey for a service.

Syntax

HRESULT CeSvcGetDword( 
  HCESVC hSvc, 
  LPCTSTR pszValName,
  LPDWORD pdwVal
);

Parameters

  • hSvc
    [in] Handle to a registry subkey for a service.
  • pszValName
    [in] Pointer to the name of the value to retrieve.
  • pdwVal
    [out] Pointer to a buffer containing the value.

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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ActiveSync Functions
CeSvcSetDword