IConman::SetRegistryRoot (Windows Embedded CE 6.0)
1/5/2010
This method sets the registry root on the target machine.
In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.
Syntax
HRESULT STDMETHODCALLTYPE SetRegistryRoot(
BSTR in_bstrRegistryRoot
);
Parameters
in_bstrRegistryRoot
The setting for the registry root. This value must be one of the following:Setting Description HKLM
HKEY_LOCAL_MACHINE root.
HKCU
HKEY_CURRENT_USER root.
HKCR
HKEY_CLASSES_ROOT root.
HKU
HKEY_USERS root.
Return Value
If this method fails, it returns an HRESULT error code.
If the method succeeds, it returns S_OK.
Requirements
Header | conman.h |
Windows Embedded CE | Windows CE 5.0 and later |