CeSvcOpenEx

This function, given a handle to an already open registry, opens a nested subkey underneath.

Syntax

HRESULT CeSvcOpenEx( HCESVC hSvcRoot, LPTSTR pszPath,
BOOL fCreate, PHCESVC phSvc );

Parameters

hSvcRoot

[in] Handle to a registry subkey, obtained by means of a call to CeSvcOpen.

pszPath

[in] Pointer to a null-terminated string that contains a subpath to append to the logical subkey.

fCreate

[in] Boolean that is set to TRUE to indicate that the subkey should be created if it does not exist.

phSvc

[out] Pointer to the logical handle to the registry subkey. This handle is equivalent to a HKEY and can be used by other CEUTIL APIs as well as Win32 registry manipulation routines.

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.