CeSvcSetDword

This function writes a DWORD value to a registry subkey.

Syntax

HRESULT CeSvcSetDword( HCESVC hSvc, LPCTSTR pszValName,
DWORD dwVal );

Parameters

hSvc

[in] Handle to a registry subkey.

pszValName

[in] Pointer to a null-terminated string that contains the name of the value.

dwVal

[in] Specifies the data to be written.

Return Values

HRESULT indicates success. A standard Win32 error code indicates failure.

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.